diff options
Diffstat (limited to 'testdata')
-rw-r--r-- | testdata/osmlparser/error_annotation_boundaries.osml | 20 | ||||
-rw-r--r-- | testdata/osmlparser/overlapping_annotations.osml | 18 |
2 files changed, 38 insertions, 0 deletions
diff --git a/testdata/osmlparser/error_annotation_boundaries.osml b/testdata/osmlparser/error_annotation_boundaries.osml new file mode 100644 index 0000000..fb8e43b --- /dev/null +++ b/testdata/osmlparser/error_annotation_boundaries.osml @@ -0,0 +1,20 @@ +\begin{document} + +\ontology#testOntology + \struct#test[root=true] + \field + \childRef[ref=a] + \struct#a[transparent=true] + \primitive[type=string] + \annotation#comment + \field + \childRef[ref=a] + +\begin{test} +This boundary is a <\comment#c1{This is a stupid Cloud Atlas reference, isn't it?} +convention <\comment#c2{Change this to: "for overlapping annotations!"\comment#c1>} +for annotations\comment#c2>. +\end{test} + +\end{document} + diff --git a/testdata/osmlparser/overlapping_annotations.osml b/testdata/osmlparser/overlapping_annotations.osml new file mode 100644 index 0000000..be28070 --- /dev/null +++ b/testdata/osmlparser/overlapping_annotations.osml @@ -0,0 +1,18 @@ +\begin{document} + +\ontology#testOntology + \struct#test[root=true] + \field + \childRef[ref=a] + \struct#a[transparent=true] + \primitive[type=string] + \annotation#comment + \primitive[type=string] + +\begin{test} +This is a <\comment#c1{Not a nice test!}test <\comment#c2{Change this to: +"for overlapping annotations!"}for\comment#c1> annotations\comment#c2>. +\end{test} + +\end{document} + |