Test results for Win32 Console |
Test for element sequence number handling, wildcard handling, and hierarchical element handling with element records that have more than one structure in a complex DTD schema. This test also ensures the element helpers are working.
Pass
cat _INPUT_DATA_ ¦ xmlfy -S schema.dtd -A1 number
1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 1 2 3 4 5 6 1 2 3 4 5 6 7 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 10 11 1 2 3 4 5 6 7 8 9 10 11 12 1 2 3 4 5 6 7 8 9 10 11 12 13 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
<!ELEMENT multitree (line_eg*)> <!ELEMENT line_eg (c)> <!ELEMENT line_eg (line_eg1, b, c, line_eg2)> <!ELEMENT line_eg1 (b)> <!ELEMENT line_eg1 (line_eg1_1, b)> <!ELEMENT line_eg1_1 (b)> <!ELEMENT line_eg1_1 (c)> <!ELEMENT line_eg2 (line_eg2_1, a)> <!ELEMENT line_eg2 (line_eg2_2, a)> <!ELEMENT line_eg2_1 (a)> <!ELEMENT line_eg2_1 (b)> <!ELEMENT line_eg2_2 (a)> <!ELEMENT line_eg2_2 (line_eg2_2_1, b)> <!ELEMENT line_eg2_2 (b)> <!ELEMENT line_eg2_2_1 (b)> <!ELEMENT line_eg2_2_1 (c)> <!ELEMENT a (#PCDATA)> <!ELEMENT b (#PCDATA)> <!ELEMENT c (#PCDATA)>
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE multitree SYSTEM "schema.dtd"> <multitree> <line_eg number="1"> <c>1</c> </line_eg> <line_eg number="2"> <line_eg1> <b>1</b> </line_eg1> <b>2</b> <c>3</c> <line_eg2> <line_eg2_1> <a>4</a> </line_eg2_1> <a>5</a> </line_eg2> </line_eg> <line_eg number="3"> <line_eg1> <b>1</b> </line_eg1> <b>2</b> <c>3</c> <line_eg2> <line_eg2_2> <line_eg2_2_1> <b>4</b> </line_eg2_2_1> <b>5</b> </line_eg2_2> <a>6</a> </line_eg2> </line_eg> <line_eg number="4"> <line_eg1> <line_eg1_1> <b>1</b> </line_eg1_1> <b>2</b> </line_eg1> <b>3</b> <c>4</c> <line_eg2> <line_eg2_2> <line_eg2_2_1> <b>5</b> </line_eg2_2_1> <b>6</b> </line_eg2_2> <a>7</a> </line_eg2> </line_eg> </multitree>