summaryrefslogtreecommitdiff
path: root/testdata/osmlparser/simple_annotation.osml
diff options
context:
space:
mode:
Diffstat (limited to 'testdata/osmlparser/simple_annotation.osml')
-rw-r--r--testdata/osmlparser/simple_annotation.osml17
1 files changed, 17 insertions, 0 deletions
diff --git a/testdata/osmlparser/simple_annotation.osml b/testdata/osmlparser/simple_annotation.osml
new file mode 100644
index 0000000..55e1c08
--- /dev/null
+++ b/testdata/osmlparser/simple_annotation.osml
@@ -0,0 +1,17 @@
+\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{Not a nice test!}test\> for annotations.
+\end{test}
+
+\end{document}
+