diff options
Diffstat (limited to 'testdata/osmlparser/rollback_on_invalid_element.osml')
-rw-r--r-- | testdata/osmlparser/rollback_on_invalid_element.osml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/testdata/osmlparser/rollback_on_invalid_element.osml b/testdata/osmlparser/rollback_on_invalid_element.osml new file mode 100644 index 0000000..671c76d --- /dev/null +++ b/testdata/osmlparser/rollback_on_invalid_element.osml @@ -0,0 +1,18 @@ +\begin{document} + +\domain#testDomain + \struct#test[isRoot=true] + \field + \childRef[ref=a] + \struct#a + \field + \childRef[ref=b] + \struct#b + \primitive[type=string,optional=true] + +\begin{test} +\a{!} +\b +\a +\end{test} +\end{document} |