summaryrefslogtreecommitdiff
path: root/testdata/osmlparser/rollback_on_invalid_element.osml
blob: 16fc629b865e1c5c3e50d9a4e59a7dd00c53d8a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
\begin{document}

\ontology#testOntology
	\struct#test[root=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}