Fix merging of includes when parsing XML.
Incorrect use of addChild was causing overlaid properties not to be merged correctly when performing an include.
This commit is contained in:
parent
c9f7483fc4
commit
799b0b4ad6
@ -179,7 +179,9 @@ class PropsHandler(handler.ContentHandler):
|
||||
|
||||
self._current = self._current.getChild(name, index, create=True)
|
||||
else:
|
||||
self._current = self._current.addChild(name)
|
||||
# important we use getChild here, so that includes are resolved
|
||||
# correctly
|
||||
self._current = self._current.getChild(name, create=True)
|
||||
|
||||
self._currentTy = None;
|
||||
if 'type' in attrs.keys():
|
||||
|
Loading…
Reference in New Issue
Block a user