Closed kruncher closed 12 years ago
I have added an additional parameter to callbacks onBeginElementNS and onEndElementNS so that empty elements can be detected when parsing.
onBeginElementNS
onEndElementNS
For example:
<list> <item><item> <item /> </list>
The first item is called as follows:
item
onBeginElementNS('item', {}, null, null, []) onEndElementNS('item', null, null)
The second item is called as follows:
onBeginElementNS('item', {}, null, null, [], true) onEndElementNS('item', null, null, true)
I have added an additional parameter to callbacks
onBeginElementNS
andonEndElementNS
so that empty elements can be detected when parsing.For example:
The first
item
is called as follows:The second
item
is called as follows: