blob: 9413e6cb8c2cf87e749a42a9ce67488aa1bf42f9 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2004 The Apache Software Foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License. -->
<root xmlns:p1='1' xmlns:p2='2' xmlns:p3='3' xmlns:p4='4' xmlns:p5='5'
xmlns:p6='6' xmlns:p7='7' xmlns:p8='8'>
<string string=' this is a long string
... in attribute '> this is a long string
... in text </string>
<int p1:int='+5' p2:int='-6' p3:int='+00000000015' p4:int='7' p5:int='2147483647'
p6:int='-2147483648'>
+<!--comments-->5
</int>
<int>
-6
</int>
<int>
+00000<!--comments-->000015
</int>
<int>7</int>
<int>2147483647</int>
<int>-2147483648</int>
<boolean p1:boolean='true' p2:boolean='false' p3:boolean='0' p4:boolean='1'
p5:boolean='false'>
tr<!--comments-->ue
</boolean>
<boolean>
false
</boolean>
<boolean>
0
</boolean>
<boolean>
1
</boolean>
<boolean>
false
</boolean>
<short short='+3'>
+03
</short>
<byte byte='+001'>
+001
</byte>
<long long='-0500000' p1:long='001' p2:long='+002'>-0500000</long>
<long>
001
</long>
<long>
+002
</long>
<double double='+001' p2:double='-002.007000' p3:double='INF' p4:double='-INF'
p5:double='NaN'>
+001
</double>
<double>
-002.0<!--comments--><!--comments-->07000
</double>
<double>
INF
</double>
<double>
-INF
</double>
<double>
NaN
</double>
<float p1:float='+12.325' p2:float='NaN' p3:float='INF' p4:float='-INF'>
+12.325
</float>
<float>
NaN
</float>
<float>
INF
</float>
<float>
-INF
</float>
<decimal decimal='001.001'>
001.001
</decimal>
<integer integer='001000000000'>
001000<!--comments-->000000
</integer>
<hexBinary hexBinary='68657842696E617279'>
68657842696E617279
</hexBinary>
<base64Binary base64Binary='YmFzZTY0QmluYXJ5'>
YmFzZTY0QmluYXJ5
</base64Binary>
<date date='2001-11-26T21:32:52Z'>
2001-11-26T21:32:52Z
</date>
<dateTime dateTime='2001-11-26T21:32:52'>
2001-11-26T21:32:52
</dateTime>
<gYearMonth gYearMonth='2001-11'>
2001-11
</gYearMonth>
<duration duration='-PT7S'>
-PT7S
</duration>
<QName xmlns:pre="pre_uri" p1:QName='pre:local1' p2:QName='local3'>
pre:local1
</QName>
<!-- bug in jsr173-ri.jar <QName xmlns="default_uri" QName='local2'>
local2
</QName-->
<QName>
local3
</QName>
</root>