You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Alberto Massari (JIRA)" <xe...@xml.apache.org> on 2007/03/28 20:20:25 UTC
[jira] Resolved: (XERCESC-1690) endElement called before
startElement
[ 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: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org