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 "Roy Smith (JIRA)" <xe...@xml.apache.org> on 2004/12/20 05:59:13 UTC

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

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


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

Posted by "Gareth Reakes (JIRA)" <xe...@xml.apache.org>.
     [ http://nagoya.apache.org/jira/browse/XERCESC-1312?page=comments#action_56885 ]
     
Gareth Reakes commented on XERCESC-1312:
----------------------------------------

The docs in the code are correct. It must be a problem in the generation of html docs. We should fix this before next release

> 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


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

Posted by "cargilld (JIRA)" <xe...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XERCESC-1312?page=comments#action_57716 ]
     
cargilld commented on XERCESC-1312:
-----------------------------------

I have updated the version of doxygen we use to do our build and the # is now appearing.  For the next release of xercesc the problem should be resolved (that is when we will refresh the online docs next).

> Node names for special nodes contain undocumented "#"
> -----------------------------------------------------
>
>          Key: XERCESC-1312
>          URL: http://issues.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://issues.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


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

Posted by "cargilld (JIRA)" <xe...@xml.apache.org>.
     [ http://nagoya.apache.org/jira/browse/XERCESC-1312?page=comments#action_56936 ]
     
cargilld commented on XERCESC-1312:
-----------------------------------

The problem is with the unix generation of the docs.
On Windows the # comes out but on Unix it doesn't.
I tried modifying the text to not use "code" but that didn't help...

> 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


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

Posted by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org>.
     [ 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