From bc25012753704943808bb8f71d75f27f68c13da9 Mon Sep 17 00:00:00 2001 From: Benjamin Paassen Date: Thu, 9 Apr 2015 14:56:28 +0200 Subject: fixed a bug in the DocumentHandler which lead to problems in case of empty explicit fields. --- .../lots_of_empty_elements.in.osml | 9 +++++++++ .../lots_of_empty_elements.out.osxml | 22 ++++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 testdata/integration/basic_functionality/lots_of_empty_elements.in.osml create mode 100644 testdata/integration/basic_functionality/lots_of_empty_elements.out.osxml (limited to 'testdata/integration/basic_functionality') diff --git a/testdata/integration/basic_functionality/lots_of_empty_elements.in.osml b/testdata/integration/basic_functionality/lots_of_empty_elements.in.osml new file mode 100644 index 0000000..aabdfae --- /dev/null +++ b/testdata/integration/basic_functionality/lots_of_empty_elements.in.osml @@ -0,0 +1,9 @@ +\document + \ontology#test + \struct#a[root=true] + \field#afield[subtree=true] + \childRef[ref=a] + +\begin{a} +\afield{\a{}\a{}} +\end{a} diff --git a/testdata/integration/basic_functionality/lots_of_empty_elements.out.osxml b/testdata/integration/basic_functionality/lots_of_empty_elements.out.osxml new file mode 100644 index 0000000..5a7522e --- /dev/null +++ b/testdata/integration/basic_functionality/lots_of_empty_elements.out.osxml @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3