summaryrefslogtreecommitdiff
path: root/testdata/osmlparser/rollback_on_invalid_element.osml
blob: 282e741fcc0609f123b6fb8440869ce16d87c203 (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[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}