Test results for Linux |
Test for correct functionality of the examples used in the xmlfy documentation.
Pass
cat _INPUT_DATA_ ¦ xmlfy -S schema.dtd
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
<!ELEMENT command (line_a) (line_b+)> <!ELEMENT line_a (b, c)> <!ELEMENT line_b (a, b, c)> <!ELEMENT line_b (d*)> <!ELEMENT a (#PCDATA)> <!ELEMENT b (#PCDATA)> <!ELEMENT c (#PCDATA)> <!ELEMENT d (#PCDATA)>
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE command SYSTEM "schema.dtd"> <command> <line_b> <d>1</d> </line_b> <line_a> <b>1</b> <c>2</c> </line_a> <line_b> <a>1</a> <b>2</b> <c>3</c> </line_b> <line_b> <d>1</d> <d>2</d> <d>3</d> <d>4</d> </line_b> <line_b> <d>1</d> <d>2</d> <d>3</d> <d>4</d> <d>5</d> </line_b> <line_b> <d>1</d> <d>2</d> <d>3</d> <d>4</d> <d>5</d> <d>6</d> </line_b> <line_b> <d>1</d> <d>2</d> <d>3</d> <d>4</d> <d>5</d> <d>6</d> <d>7</d> </line_b> <line_b> <d>1</d> <d>2</d> <d>3</d> <d>4</d> <d>5</d> <d>6</d> <d>7</d> <d>8</d> </line_b> <line_b> <d>1</d> <d>2</d> <d>3</d> <d>4</d> <d>5</d> <d>6</d> <d>7</d> <d>8</d> <d>9</d> </line_b> </command>