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 "Michael Glavassevich (JIRA)" <xe...@xml.apache.org> on 2004/12/20 06:10:18 UTC

[jira] Commented: (XERCESC-1312) Node names for special nodes contain undocumented "#"

     [ 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: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org