Fix catalog parsing, add unit-tests

Fixes issues with conflated nodes and skipped previews in the
catalog XML.
This commit is contained in:
James Turner
2017-02-10 11:55:30 +00:00
parent 93b71e29e6
commit acb8a7a793
8 changed files with 179 additions and 9 deletions

View File

@@ -0,0 +1,20 @@
<?xml version='1.0' encoding='UTF-8'?>
<PropertyList include="root-include.xml">
<value type="int">33</value>
<thing>
<value>apple</value>
</thing>
<thing>
<value>lemon</value>
</thing>
<sub include ="sub-include.xml">
<!-- different index to avoid being included over -->
<widget n="100" type="int">99</widget>
</sub>
</PropertyList>