[ http://nagoya.apache.org/jira/browse/XERCESC-1312?page=comments#action_56874 ] Michael Glavassevich commented on XERCESC-1312: -----------------------------------------------
The DOM specification says that the node name for a text node is "#text" so this is an error in the documentation. [1] http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core.html#ID-1950641247 > Node names for special nodes contain undocumented "#" > ----------------------------------------------------- > > Key: XERCESC-1312 > URL: http://nagoya.apache.org/jira/browse/XERCESC-1312 > Project: Xerces-C++ > Type: Bug > Components: Documentation > Reporter: Roy Smith > Priority: Minor > > According to http://xml.apache.org/xerces-c/apiDocs/classDOMNode.html, > calling getNodeName() on a DOMText node should return "text". In reality, it > returns "#text". Similarly for DOMComment, DOMDocument, etc. > It is unclear if the code is wrong or the documentation is wrong. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://nagoya.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]