Skip to content

Commit

Permalink
Add left recursive test case.
Browse files Browse the repository at this point in the history
  • Loading branch information
svenemtell committed May 29, 2020
1 parent 5cceab9 commit f4210da
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions xmlconf/xmltest/valid/sa/120.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<!DOCTYPE a [
<!ELEMENT b EMPTY>
<!ELEMENT c EMPTY>
<!ELEMENT a ((b?)*, c?)>
]>
<a><c/></a>
1 change: 1 addition & 0 deletions xmlconf/xmltest/valid/sa/out/120.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<a><c></c></a>
4 changes: 4 additions & 0 deletions xmlconf/xmltest/xmltest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1247,6 +1247,10 @@ right one, with very odd content "some data ? > &lt;?". </TEST>
OUTPUT="valid/sa/out/119.xml">
Comments may contain any legal XML characters;
only the string "--" is disallowed.</TEST>
<TEST TYPE="valid" ENTITIES="none" ID="valid-sa-120"
URI="valid/sa/120.xml" SECTIONS="2.5"
OUTPUT="valid/sa/out/120.xml">
Left recursive.</TEST>


<!-- Start: valid/not-sa -->
Expand Down

0 comments on commit f4210da

Please sign in to comment.