summaryrefslogtreecommitdiff
path: root/testdata/osmlparser/error_annotation_boundaries.osml
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-03-03 20:38:32 +0100
committerAndreas Stöckel <andreas@somweyr.de>2015-03-03 20:38:32 +0100
commite9f726d2f8108104d86e967dd27bba1fbe493b19 (patch)
treee0bf6412eecfe43b883b253748664e60c76f2cee /testdata/osmlparser/error_annotation_boundaries.osml
parentec758436a01903ded6ec5951fa1fc5d2fe062239 (diff)
added more complex tests and prevented endless loops in DocumentChildHandler::startAnnotation
Diffstat (limited to 'testdata/osmlparser/error_annotation_boundaries.osml')
-rw-r--r--testdata/osmlparser/error_annotation_boundaries.osml20
1 files changed, 20 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}
+