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 "Karl Schultz (JIRA)" <xe...@xml.apache.org> on 2004/11/24 19:47:19 UTC

[jira] Created: (XERCESC-1303) NodeIterator and TreeWalker ExpandEntityReferences not implemented

NodeIterator and TreeWalker ExpandEntityReferences not implemented
------------------------------------------------------------------

         Key: XERCESC-1303
         URL: http://nagoya.apache.org/jira/browse/XERCESC-1303
     Project: Xerces-C++
        Type: Bug
  Components: DOM  
    Versions: 2.6.0    
 Environment: not platform specific
    Reporter: Karl Schultz
 Attachments: files.zip

There is an entityReferenceExpansion parameter on DOMDocumentTraversal::createNodeIterator and DOMDocumentTraversal::createTreeWalker.  It can be set and retrieved, but does not seem to have any effect on the behavior of the NodeIterator or TreeWalker.  They both behave as if the parameter had been set to true, regardless of the value of the parameter.  My reading of the source code suggests that this feature was simply not implemented, or there is some other bug.

-- 
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] Reopened: (XERCESC-1303) NodeIterator and TreeWalker ExpandEntityReferences not implemented

Posted by "Alberto Massari (JIRA)" <xe...@xml.apache.org>.
     [ http://nagoya.apache.org/jira/browse/XERCESC-1303?page=history ]
     
Alberto Massari reopened XERCESC-1303:
--------------------------------------

     Assign To: Alberto Massari

> NodeIterator and TreeWalker ExpandEntityReferences not implemented
> ------------------------------------------------------------------
>
>          Key: XERCESC-1303
>          URL: http://nagoya.apache.org/jira/browse/XERCESC-1303
>      Project: Xerces-C++
>         Type: Bug
>   Components: DOM
>     Versions: 2.6.0
>  Environment: not platform specific
>     Reporter: Karl Schultz
>     Assignee: Alberto Massari
>  Attachments: files.zip
>
> There is an entityReferenceExpansion parameter on DOMDocumentTraversal::createNodeIterator and DOMDocumentTraversal::createTreeWalker.  It can be set and retrieved, but does not seem to have any effect on the behavior of the NodeIterator or TreeWalker.  They both behave as if the parameter had been set to true, regardless of the value of the parameter.  My reading of the source code suggests that this feature was simply not implemented, or there is some other bug.

-- 
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] Closed: (XERCESC-1303) NodeIterator and TreeWalker ExpandEntityReferences not implemented

Posted by "Alberto Massari (JIRA)" <xe...@xml.apache.org>.
     [ http://nagoya.apache.org/jira/browse/XERCESC-1303?page=history ]
     
Alberto Massari closed XERCESC-1303:
------------------------------------


> NodeIterator and TreeWalker ExpandEntityReferences not implemented
> ------------------------------------------------------------------
>
>          Key: XERCESC-1303
>          URL: http://nagoya.apache.org/jira/browse/XERCESC-1303
>      Project: Xerces-C++
>         Type: Bug
>   Components: DOM
>     Versions: 2.6.0
>  Environment: not platform specific
>     Reporter: Karl Schultz
>     Assignee: Alberto Massari
>  Attachments: files.zip
>
> There is an entityReferenceExpansion parameter on DOMDocumentTraversal::createNodeIterator and DOMDocumentTraversal::createTreeWalker.  It can be set and retrieved, but does not seem to have any effect on the behavior of the NodeIterator or TreeWalker.  They both behave as if the parameter had been set to true, regardless of the value of the parameter.  My reading of the source code suggests that this feature was simply not implemented, or there is some other bug.

-- 
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-1303) NodeIterator and TreeWalker ExpandEntityReferences not implemented

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

Yes, the fix now appears to work for the Tree Walker.  My app now works as expected.  Thanks!!!!!!

> NodeIterator and TreeWalker ExpandEntityReferences not implemented
> ------------------------------------------------------------------
>
>          Key: XERCESC-1303
>          URL: http://nagoya.apache.org/jira/browse/XERCESC-1303
>      Project: Xerces-C++
>         Type: Bug
>   Components: DOM
>     Versions: 2.6.0
>  Environment: not platform specific
>     Reporter: Karl Schultz
>     Assignee: Alberto Massari
>  Attachments: files.zip
>
> There is an entityReferenceExpansion parameter on DOMDocumentTraversal::createNodeIterator and DOMDocumentTraversal::createTreeWalker.  It can be set and retrieved, but does not seem to have any effect on the behavior of the NodeIterator or TreeWalker.  They both behave as if the parameter had been set to true, regardless of the value of the parameter.  My reading of the source code suggests that this feature was simply not implemented, or there is some other bug.

-- 
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] Updated: (XERCESC-1303) NodeIterator and TreeWalker ExpandEntityReferences not implemented

Posted by "Karl Schultz (JIRA)" <xe...@xml.apache.org>.
     [ http://nagoya.apache.org/jira/browse/XERCESC-1303?page=history ]

Karl Schultz updated XERCESC-1303:
----------------------------------

    Attachment: files.zip

I attached a test case with xml files.  It is just a modification of Traversal.cpp in the DOM Traversal Test sample.  Note that the output is the same for both settings of the EntityReferenceExpansion parameter.

> NodeIterator and TreeWalker ExpandEntityReferences not implemented
> ------------------------------------------------------------------
>
>          Key: XERCESC-1303
>          URL: http://nagoya.apache.org/jira/browse/XERCESC-1303
>      Project: Xerces-C++
>         Type: Bug
>   Components: DOM
>     Versions: 2.6.0
>  Environment: not platform specific
>     Reporter: Karl Schultz
>  Attachments: files.zip
>
> There is an entityReferenceExpansion parameter on DOMDocumentTraversal::createNodeIterator and DOMDocumentTraversal::createTreeWalker.  It can be set and retrieved, but does not seem to have any effect on the behavior of the NodeIterator or TreeWalker.  They both behave as if the parameter had been set to true, regardless of the value of the parameter.  My reading of the source code suggests that this feature was simply not implemented, or there is some other bug.

-- 
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] Resolved: (XERCESC-1303) NodeIterator and TreeWalker ExpandEntityReferences not implemented

Posted by "Alberto Massari (JIRA)" <xe...@xml.apache.org>.
     [ http://nagoya.apache.org/jira/browse/XERCESC-1303?page=history ]
     
Alberto Massari resolved XERCESC-1303:
--------------------------------------

    Resolution: Fixed

A fix is in CVS. Please verify.

Alberto

> NodeIterator and TreeWalker ExpandEntityReferences not implemented
> ------------------------------------------------------------------
>
>          Key: XERCESC-1303
>          URL: http://nagoya.apache.org/jira/browse/XERCESC-1303
>      Project: Xerces-C++
>         Type: Bug
>   Components: DOM
>     Versions: 2.6.0
>  Environment: not platform specific
>     Reporter: Karl Schultz
>  Attachments: files.zip
>
> There is an entityReferenceExpansion parameter on DOMDocumentTraversal::createNodeIterator and DOMDocumentTraversal::createTreeWalker.  It can be set and retrieved, but does not seem to have any effect on the behavior of the NodeIterator or TreeWalker.  They both behave as if the parameter had been set to true, regardless of the value of the parameter.  My reading of the source code suggests that this feature was simply not implemented, or there is some other bug.

-- 
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] Resolved: (XERCESC-1303) NodeIterator and TreeWalker ExpandEntityReferences not implemented

Posted by "Alberto Massari (JIRA)" <xe...@xml.apache.org>.
     [ http://nagoya.apache.org/jira/browse/XERCESC-1303?page=history ]
     
Alberto Massari resolved XERCESC-1303:
--------------------------------------

    Resolution: Fixed

DOMTreeWalker should be fixed too, now. Please verify.

Thanks,
Alberto

> NodeIterator and TreeWalker ExpandEntityReferences not implemented
> ------------------------------------------------------------------
>
>          Key: XERCESC-1303
>          URL: http://nagoya.apache.org/jira/browse/XERCESC-1303
>      Project: Xerces-C++
>         Type: Bug
>   Components: DOM
>     Versions: 2.6.0
>  Environment: not platform specific
>     Reporter: Karl Schultz
>     Assignee: Alberto Massari
>  Attachments: files.zip
>
> There is an entityReferenceExpansion parameter on DOMDocumentTraversal::createNodeIterator and DOMDocumentTraversal::createTreeWalker.  It can be set and retrieved, but does not seem to have any effect on the behavior of the NodeIterator or TreeWalker.  They both behave as if the parameter had been set to true, regardless of the value of the parameter.  My reading of the source code suggests that this feature was simply not implemented, or there is some other bug.

-- 
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-1303) NodeIterator and TreeWalker ExpandEntityReferences not implemented

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

This appears to be fixed in CVS for DOMNodeIterator, but not DOMTreeWalker.  I noted that both were affected in the problem description, but the testcase I supplied only demonstrated the problem for DOMNodeIterator.  I think that if you simply replace the node iterator with the tree walker in my supplied testcase, you will see the problem there as well.  

> NodeIterator and TreeWalker ExpandEntityReferences not implemented
> ------------------------------------------------------------------
>
>          Key: XERCESC-1303
>          URL: http://nagoya.apache.org/jira/browse/XERCESC-1303
>      Project: Xerces-C++
>         Type: Bug
>   Components: DOM
>     Versions: 2.6.0
>  Environment: not platform specific
>     Reporter: Karl Schultz
>  Attachments: files.zip
>
> There is an entityReferenceExpansion parameter on DOMDocumentTraversal::createNodeIterator and DOMDocumentTraversal::createTreeWalker.  It can be set and retrieved, but does not seem to have any effect on the behavior of the NodeIterator or TreeWalker.  They both behave as if the parameter had been set to true, regardless of the value of the parameter.  My reading of the source code suggests that this feature was simply not implemented, or there is some other bug.

-- 
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