[
https://issues.apache.org/jira/browse/XERCESC-1690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alberto Massari resolved XERCESC-1690.
--------------------------------------
Resolution: Invalid
Hi Rick,
what you are seeing is that startElement is invoked with the isEmpty argument
set to true; in this case, endElement for that node is not invoked.
Alberto
> endElement called before startElement
> -------------------------------------
>
> Key: XERCESC-1690
> URL: https://issues.apache.org/jira/browse/XERCESC-1690
> Project: Xerces-C++
> Issue Type: Bug
> Components: Validating Parser (DTD)
> Affects Versions: 2.7.0
> Environment: Fedora Core 1 - 6
> GCC
> Reporter: Rick O'Shea
> Priority: Minor
>
> I have derived a new parser class from XercesDOMParser, and overridden the
> startElement & endElement callbacks.
> All seems well...except I have noticed that when my XML contains
> empty-element tags "/>" ...
> eg. <element name=value />
> ...the endElement callback is called first!
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]