Datatype dateTime 2001-12-01T19:45:00 2001-12-01T19:45:00Z 2001-12-01T19:45:00-11:59 0001-01-12T00:00:00+12:00 2001-12-1T19:45:00+24:00 2001-12-1T19:45:00 2001-12-01T19:45:00 2001-12-01T19:45:00.00 2001-12-01T19:45:00Z 2001-12-01T19:45:00.00Z 2001-12-01T20:45:00+01:00 2001-12-01T19:45:00Z 2001-12-01T19:45:00.00Z 2001-12-01T20:45:00+01:00 2001-12-01T19:45:00 2001-12-01T19:45:00.00 Datatype anyURI foobar http://www.example.com http://ji%6d@www.example.com http://www.example.co%6d nosuchscheme:stuff foo$bar:stuff f%oobar Datatype integer 10 01 0123456789 +10 -10 1.0 .1 9999999999999999999999999999999 1. 0. 0 +0 -0 00 10 +10 +0010 010 -10 -0010 -010 10 +10 +0010 010 0 +0 -0 00 -10 -0010 -010 -10 -0010 -010 0 +0 -0 00 10 +10 +0010 010 Datatype duration P1Y P1Y0M2DT17H5M12S -P1Y P60D PT24H PT1.2S P24h P24H P1YT P -P -P6M P0Y -P0Y P1Y P001Y P001Y0M P1Y0M0DT0H0M0.0S P6M PT6M PT1S PT1.0S P0Y -P0Y -P6M P1Y P001Y P001Y0M P1Y0M0DT0H0M0.0S P6M PT6M PT1S PT1.0S P1Y P001Y P001Y0M P1Y0M0DT0H0M0.0S -P6M P0Y -P0Y P6M PT6M PT1S PT1.0S P6M -P6M P0Y -P0Y P1Y P001Y P001Y0M P1Y0M0DT0H0M0.0S PT6M PT1S PT1.0S PT6M -P6M P0Y -P0Y P1Y P001Y P001Y0M P1Y0M0DT0H0M0.0S P6M PT1S PT1.0S PT1S PT1.0S -P6M P0Y -P0Y P1Y P001Y P001Y0M P1Y0M0DT0H0M0.0S P6M PT6M PT1M PT61S PT1M PT61S PT1M PT61S PT59S PT1M PT59S PT1M PT59S PT1M PT60S PT1M PT60S PT1M PT60S PT1M PT1H PT61M PT1H PT61M PT1H PT61M PT59M PT1H PT59M PT1H PT59M PT1H PT60M PT1H PT60M PT1H PT60M PT1H P1D PT25H P1D PT25H P1D PT25H PT23H P1D PT23H P1D PT23H P1D P1D PT24H P1D PT24H P1D PT24H P1Y P13M P1Y P13M P1Y P13M P11M P1Y P11M P1Y P11M P1Y P12M P1Y P12M P1Y P12M P1Y P364D P1Y P364D P1Y P364D P1Y P1Y P365D P1Y P365D P1Y P365D P1Y P366D P1Y P366D P1Y P366D P1Y P367D P1Y P367D P1Y P367D P149D P5M P149D P5M P149D P5M P150D P5M P150D P5M P150D P5M P151D P5M P151D P5M P151D P5M P152D P5M P152D P5M P152D P5M P153D P5M P153D P5M P153D P5M P5M P154D P5M P154D P5M P154D P27D P1M P27D P1M P27D P1M P28D P1M P28D P1M P28D P1M P29D P1M P29D P1M P29D P1M P30D P1M P30D P1M P30D P1M P31D P1M P31D P1M P31D P1M P1M P32D P1M P32D P1M P32D Datatype time 12:45:00 12:45:00Z Datatype date 1886-12-01 1886-12-01Z 1066-12-31 1900-01-01 1066-12-31 1900-01-01 1066-12-31 1900-01-01 1900-01-01 1900-01-02 1900-01-01 1900-01-02 1900-01-01 1900-01-02 Datatype gYearMonth 1996-12 1996-01 1996-01Z 1996-00 1996-01 1996-01Z 1996-01+00:00 1996-01-00:00 1996-01+01:00 1996-01-01:00 1996-01Z 1996-01+00:00 1996-01-00:00 1996-01 1996-01+01:00 1996-01-01:00 1996-01+01:00 1996-01 1996-01Z 1996-01+00:00 1996-01-00:00 1996-01-01:00 1996-01-01:00 1996-01 1996-01Z 1996-01+00:00 1996-01-00:00 1996-01+01:00 Datatype gYear 2001 2001Z 1999 2000 1999 2000 1999 2000 1999+07:00 2000+07:00 1999+07:00 2000+07:00 1999+07:00 2000+07:00 Datatype gMonthDay --12-01 --12-01Z --12-01 --12-04 --12-01 --12-04 --12-01 --12-04 --11-17 --12-04 --11-17 --12-04 --11-17 --12-04 Datatype gDay ---20 ---20Z ---01 ---31 ---01 ---31 ---01 ---31 Datatype gMonth --12 --01 --01Z --12 ---01 --00 --13 - -13 --01 --12 --01 --12 --01 --12 --01 --02 --01 --02 --01 --02 Datatype boolean true false 0 1 00 00 01 true 1 false 0 false 0 true 1 Datatype base64Binary AAAA abcd efgh ijkl mnop qrst uvwx yzAB CDEF GHIJ KLMN OPQR STUV WXYZ 0123 4567 89+/ BA== BA== BQ== Bg== Bw== BBA= BBA= BBE= BBI= BBM= BBQ= BBU= BBY= BBc= BBg= BBk= BBo= BBs= BBw= BB0= BB4= BB8= ==== BB== BBB= B=== B deadbeef d e a d b eef DEADBEEF D E A D B EEF DEADBEEF D E A D B EEF deadbeef d e a d b eef 0 1 6 deadbeef 7 deadbeef 5 deadbeef 1 BA== 2 BA== 0 BA== 2 BBA= 3 BBA= 1 BBA= 3 dead 4 dead 2 dead 4 deadBA== 5 deadBA== 3 deadBA== Datatype hexBinary deadbeef 0123456789ABCDEFabcdef 00 00 00.00 0G 00 00 01 10 0a 0A 01 00 00 10 0a 0A 10 00 00 01 0a 0A 0a 0A 00 00 01 10 0 1 1 00 2 00 0 00 2 0000 3 0000 1 0000 2 0000 3 0000 1 0000 2 AAAA 3 AAAA 1 AAAA Datatype float 1.0 1. .1 - 1 1 .0 +INF +NaN -NaN 0 -0 +0 0 0. .0 0.0 0e0 0E0 0E+0 0E-0 1E0 0.1E1 10E-1 +1 -1 INF INF -INF -INF NaN NaN 1E0 0.1E1 10E-1 +1 0 -0 +0 0 0. .0 0.0 0e0 0E0 0E+0 0E-0 -1 INF INF -INF -INF NaN NaN -1 0 -0 +0 0 0. .0 0.0 0e0 0E0 0E+0 0E-0 1E0 0.1E1 10E-1 +1 INF INF -INF -INF NaN NaN INF INF 0 -0 +0 0 0. .0 0.0 0e0 0E0 0E+0 0E-0 1E0 0.1E1 10E-1 +1 -1 -INF -INF NaN NaN -INF -INF 0 -0 +0 0 0. .0 0.0 0e0 0E0 0E+0 0E-0 1E0 0.1E1 10E-1 +1 -1 INF INF NaN NaN NaN NaN 0 -0 +0 0 0. .0 0.0 0e0 0E0 0E+0 0E-0 1E0 0.1E1 10E-1 +1 -1 INF INF -INF -INF -INF -1000 -INF -1000 -INF -1000 1000 INF 1000 INF 1000 INF -1 1 -1 1 -1 1 0 1 0 1 0 1 -1 0 -1 0 -1 0 Datatype double 1.0 1. .1 - 1 1 .0 +INF +NaN -NaN 0 -0 +0 0 0. .0 0.0 0e0 0E0 0E+0 0E-0 1E0 0.1E1 10E-1 +1 -1 INF INF -INF -INF NaN NaN 1E0 0.1E1 10E-1 +1 0 -0 +0 0 0. .0 0.0 0e0 0E0 0E+0 0E-0 -1 INF INF -INF -INF NaN NaN -1 0 -0 +0 0 0. .0 0.0 0e0 0E0 0E+0 0E-0 1E0 0.1E1 10E-1 +1 INF INF -INF -INF NaN NaN INF INF 0 -0 +0 0 0. .0 0.0 0e0 0E0 0E+0 0E-0 1E0 0.1E1 10E-1 +1 -1 -INF -INF NaN NaN -INF -INF 0 -0 +0 0 0. .0 0.0 0e0 0E0 0E+0 0E-0 1E0 0.1E1 10E-1 +1 -1 INF INF NaN NaN NaN NaN 0 -0 +0 0 0. .0 0.0 0e0 0E0 0E+0 0E-0 1E0 0.1E1 10E-1 +1 -1 INF INF -INF -INF -INF -1000 -INF -1000 -INF -1000 1000 INF 1000 INF 1000 INF -1 1 -1 1 -1 1 0 1 0 1 0 1 -1 0 -1 0 -1 0 Datatype QName foo x:foo y:foo foo foo x:foo x:foo z:foo x:bar z:bar y:foo y:bar x:foo x:foo z:foo foo foo x:bar z:bar y:foo y:bar x:bar z:bar foo foo x:foo x:foo z:foo y:foo y:bar y:foo foo foo x:foo x:foo z:foo x:bar z:bar y:bar y:bar foo foo x:foo x:foo z:foo x:bar z:bar y:foo Datatype NOTATION foo x:foo y:foo Datatype decimal 1.0 1. .1 +1.0 -1.0 1 99999999999999999999999999999999999999999999999999999999999999999 -99999999999999999999999999999999999999999999999999999999999999999 junk --1 ++1 +-1 1.2. ..1 1.. 1 .2 1+ + 1 0 1 0 1 0 1 Datatype nonPositiveInteger -1 0 -0 1 Datatype nonNegativeInteger 1 0 +1 +0 -1 Datatype positiveInteger +1 1 0 -1 Datatype negativeInteger -1 +1 0 Datatype long 1 +1 0 0 1 2 9999999999999999999999999999999999999999999999999999999999999999999999999 9223372036854775807 -9223372036854775808 9223372036854775808 -9223372036854775809 Datatype int 1 01 1 2147483647 -2147483648 2147483648 -2147483649 9999999999999999999999999999999999999999999999999999999999999999999999999 1 +1 1 001 -1 -1 -001 -1 -1 -001 1 +1 1 001 Datatype short 1 32767 -32768 32768 -32769 9999999999999999999999999999999999999999999999999999999999999999999999999 1 +1 1 001 -1 -1 -001 -1 -1 -001 1 +1 1 001 Datatype byte 1 127 -128 128 -129 Datatype unsignedLong 1 +1 -1 0 18446744073709551615 18446744073709551616 -1 Datatype unsignedInt 1 +1 0 4294967295 4294967296 -1 Datatype unsignedShort 1 +1 0 65535 65536 -1 Datatype unsignedByte 1 +1 0 255 256 -1 Datatype string any thing at all! Datatype normalizedString any thing at all! Datatype token any thing at all! x x x x x x x x x x y x y x y x y x y x y x y x y x y x y x y x y x y x x x x x x x x x x y x y x y x y x y x y x y x y x y x y x y x y x y x y x y x y x y x y x y x y x y x y x y x y x y x y x x x x x x x x x 0 1 1 x 2 x 0 x 1 x 2 x 0 x 1 𐠀 2 𐠀 0 𐠀 Datatype language en en-UK i-cherokee x-klingon en-uk-scotland en.UK Datatype Name foo _0123456789 . : - 1234 foo Datatype NCName foo foo:bar 0foo foo foo FOO FOO FOO FOO foo foo Datatype NMTOKEN foo _ . : - 1234 foo 3 foo 4 foo 2 foo 2 fo 3 fo 1 fo 1 f 2 f 0 f Datatype NMTOKENS foo bar 1 2 3 4 Datatype ID foobar foo:bar foo bar Datatype ENTITY foo foo Datatype ENTITIES foo foo bar