2 <datatype name="dateTime">
3 <valid>2001-12-01T19:45:00</valid>
4 <valid>2001-12-01T19:45:00Z</valid>
5 <valid>2001-12-01T19:45:00-11:59</valid>
6 <valid>0001-01-12T00:00:00+12:00</valid>
7 <invalid>2001-12-1T19:45:00+24:00</invalid>
8 <invalid>2001-12-1T19:45:00</invalid>
11 <value>2001-12-01T19:45:00</value>
12 <value>2001-12-01T19:45:00.00</value>
15 <value>2001-12-01T19:45:00Z</value>
16 <value>2001-12-01T19:45:00.00Z</value>
17 <value>2001-12-01T20:45:00+01:00</value>
21 <datatype name="anyURI">
23 <valid>http://www.example.com</valid>
24 <valid>http://ji%6d@www.example.com</valid>
25 <valid>http://www.example.co%6d</valid>
26 <valid>nosuchscheme:stuff</valid>
27 <invalid>foo$bar:stuff</invalid>
28 <invalid>f%oobar</invalid>
30 <datatype name="integer">
33 <valid>0123456789</valid>
36 <invalid>1.0</invalid>
38 <valid>9999999999999999999999999999999</valid>
61 <datatype name="duration">
63 <valid>P1Y0M2DT17H5M12S</valid>
68 <invalid>P24h</invalid>
69 <invalid>P24H</invalid>
70 <invalid>P1YT</invalid>
84 <value>P001Y0M</value>
85 <value>P1Y0M0DT0H0M0.0S</value>
211 <datatype name="time">
212 <valid>12:45:00</valid>
213 <valid>12:45:00Z</valid>
215 <datatype name="date">
216 <valid>1886-12-01</valid>
217 <valid>1886-12-01Z</valid>
219 <value>1066-12-31</value>
220 <value>1900-01-01</value>
223 <value>1900-01-01</value>
224 <value>1900-01-02</value>
227 <datatype name="gYearMonth">
228 <valid>1996-12</valid>
229 <valid>1996-01</valid>
230 <valid>1996-01Z</valid>
231 <invalid>1996-00</invalid>
233 <class><value>1996-01</value></class>
235 <value>1996-01Z</value>
236 <value>1996-01+00:00</value>
237 <value>1996-01-00:00</value>
239 <class><value>1996-01+01:00</value></class>
240 <class><value>1996-01-01:00</value></class>
243 <datatype name="gYear">
251 <value>1999+07:00</value>
252 <value>2000+07:00</value>
255 <datatype name="gMonthDay">
256 <valid>--12-01</valid>
257 <valid>--12-01Z</valid>
259 <value>--12-01</value>
260 <value>--12-04</value>
263 <value>--11-17</value>
264 <value>--12-04</value>
267 <datatype name="gDay">
269 <valid>---20Z</valid>
275 <datatype name="gMonth">
279 <valid> --12 </valid>
280 <invalid>---01</invalid>
281 <invalid>--00</invalid>
282 <invalid>--13</invalid>
283 <invalid>- -13</invalid>
293 <datatype name="boolean">
298 <invalid>00</invalid>
299 <invalid>00</invalid>
300 <invalid>01</invalid>
302 <class><value>true</value><value>1</value></class>
303 <class><value>false</value><value>0</value></class>
306 <datatype name="base64Binary">
308 <valid>abcd efgh ijkl mnop qrst uvwx yzAB CDEF GHIJ KLMN OPQR
309 STUV WXYZ 0123 4567 89+/</valid>
333 <invalid>====</invalid>
334 <invalid>BB==</invalid>
335 <invalid>BBB=</invalid>
336 <invalid>B===</invalid>
340 <value>deadbeef</value>
341 <value>d

	e a d
345 <value>DEADBEEF</value>
346 <value>D

	E A D
350 <length value="0"></length>
351 <length value="6">deadbeef</length>
352 <length value="1">BA==</length>
353 <length value="2">BBA=</length>
354 <length value="3">dead</length>
355 <length value="4">deadBA==</length>
357 <datatype name="hexBinary">
358 <valid>deadbeef</valid>
360 <valid>0123456789ABCDEFabcdef</valid>
361 <invalid>00 00</invalid>
362 <invalid>00.00</invalid>
363 <invalid>0G</invalid>
382 <length value="0"></length>
383 <length value="1">00</length>
384 <length value="2">0000</length>
385 <length value="2"> 0000 </length>
386 <length value="2">AAAA</length>
388 <datatype name="float">
392 <invalid>- 1</invalid>
393 <invalid>1 .0</invalid>
394 <invalid>+INF</invalid>
395 <invalid>+NaN</invalid>
396 <invalid>-NaN</invalid>
408 <value> 0E+0 </value>
409 <value> 0E-0 </value>
454 <datatype name="double">
458 <invalid>- 1</invalid>
459 <invalid>1 .0</invalid>
460 <invalid>+INF</invalid>
461 <invalid>+NaN</invalid>
462 <invalid>-NaN</invalid>
474 <value> 0E+0 </value>
475 <value> 0E-0 </value>
520 <datatype name="QName">
522 <valid xmlns:x="http://www.example.com">x:foo</valid>
523 <invalid>y:foo</invalid>
524 <equiv xmlns:x="http://www.example.com"
525 xmlns:y="http://www.example.com/"
526 xmlns:z="http://www.example.com">
533 <value> x:foo </value>
548 <datatype name="NOTATION">
550 <valid xmlns:x="http://www.example.com">x:foo</valid>
551 <invalid>y:foo</invalid>
553 <datatype name="decimal">
560 <valid>99999999999999999999999999999999999999999999999999999999999999999</valid>
561 <valid>-99999999999999999999999999999999999999999999999999999999999999999</valid>
562 <invalid>junk</invalid>
563 <invalid>--1</invalid>
564 <invalid>++1</invalid>
565 <invalid>+-1</invalid>
566 <invalid>1.2.</invalid>
567 <invalid>..1</invalid>
568 <invalid>1..</invalid>
569 <invalid>1 .2</invalid>
570 <invalid>1+</invalid>
571 <invalid>+ 1</invalid>
577 <datatype name="nonPositiveInteger">
583 <datatype name="nonNegativeInteger">
588 <invalid>-1</invalid>
590 <datatype name="positiveInteger">
594 <invalid>-1</invalid>
596 <datatype name="negativeInteger">
598 <invalid>+1</invalid>
601 <datatype name="long">
606 <invalid>1 2</invalid>
607 <invalid>9999999999999999999999999999999999999999999999999999999999999999999999999</invalid>
608 <valid>9223372036854775807</valid>
609 <valid>-9223372036854775808</valid>
610 <invalid>9223372036854775808</invalid>
611 <invalid>-9223372036854775809</invalid>
614 <datatype name="int">
618 <valid>2147483647</valid>
619 <valid>-2147483648</valid>
620 <invalid>2147483648</invalid>
621 <invalid>-2147483649</invalid>
622 <invalid>9999999999999999999999999999999999999999999999999999999999999999999999999</invalid>
637 <datatype name="short">
640 <valid>-32768</valid>
641 <invalid>32768</invalid>
642 <invalid>-32769</invalid>
643 <invalid>9999999999999999999999999999999999999999999999999999999999999999999999999</invalid>
658 <datatype name="byte">
662 <invalid>128</invalid>
663 <invalid>-129</invalid>
665 <datatype name="unsignedLong">
668 <invalid>-1</invalid>
670 <valid>18446744073709551615</valid>
671 <invalid>18446744073709551616</invalid>
672 <invalid>-1</invalid>
674 <datatype name="unsignedInt">
678 <valid>4294967295</valid>
679 <invalid>4294967296</invalid>
680 <invalid>-1</invalid>
682 <datatype name="unsignedShort">
687 <invalid>65536</invalid>
688 <invalid>-1</invalid>
690 <datatype name="unsignedByte">
695 <invalid>256</invalid>
696 <invalid>-1</invalid>
698 <datatype name="string">
699 <valid>any thing at all!</valid>
701 <datatype name="normalizedString">
702 <valid>any thing at all!</valid>
704 <datatype name="token">
705 <valid>any thing at all!</valid>
710 <value>	

 </value>
713 <value>x </value>
714 <value>x
</value>
715 <value>x
</value>
716 <value>x	</value>
717 <value> x</value>
718 <value>
x</value>
719 <value>
x</value>
720 <value>	x</value>
721 <value>	

 x	

 </value>
724 <value>x y </value>
725 <value>x y
</value>
726 <value>x y
</value>
727 <value>x y	</value>
728 <value>x y</value>
729 <value>x
y</value>
730 <value>x
y</value>
731 <value>x	y</value>
732 <value> x y</value>
733 <value>
x y</value>
734 <value>
x y</value>
735 <value>	x y</value>
736 <value>	

 x	

 y	

 </value>
739 <length value="0"></length>
740 <length value="1">x</length>
741 <length value="1"> x </length>
742 <length value="1">𐠀</length>
744 <datatype name="language">
747 <valid>i-cherokee</valid>
748 <valid>x-klingon</valid>
749 <valid>en-uk-scotland</valid>
750 <invalid>en.UK</invalid>
752 <datatype name="Name">
754 <valid>_0123456789</valid>
758 <invalid>1234</invalid>
761 <datatype name="NCName">
763 <invalid>foo:bar</invalid>
764 <invalid>0foo</invalid>
766 <class><value>foo</value><value> foo </value></class>
767 <class><value>FOO</value><value> FOO </value></class>
770 <datatype name="NMTOKEN">
778 <length value="3"> foo </length>
779 <length value="2">fo</length>
780 <length value="1">f</length>
782 <datatype name="NMTOKENS">
783 <valid>foo bar</valid>
785 <valid>1 2 3 4</valid>
788 <valid>foobar</valid>
789 <invalid>foo:bar</invalid>
790 <invalid>foo bar</invalid>
792 <datatype name="ENTITY">
794 <invalid>foo</invalid>
795 <valid internalSubset="<!ENTITY foo SYSTEM 'whatever' NDATA jpeg>"
798 <datatype name="ENTITIES">
800 <invalid>foo</invalid>
801 <valid internalSubset="<!ENTITY foo SYSTEM 'whatever' NDATA jpeg>
802 
<!ENTITY bar SYSTEM 'whatever' NDATA jpeg>