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 bu...@apache.org on 2002/09/28 10:46:53 UTC

DO NOT REPLY [Bug 13109] New: - DOMRange::toString eventually cycles forever

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13109>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13109

DOMRange::toString eventually cycles forever

           Summary: DOMRange::toString eventually cycles forever
           Product: Xerces-C++
           Version: Nightly build (please specify the date)
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: DOM
        AssignedTo: xerces-c-dev@xml.apache.org
        ReportedBy: thomas.blatter@wanadoo.fr


given the xml document:

<?xml version='1.0' encoding='UTF-16' 
standalone='yes'?>
<root><anode/><nodewithsometext>thetext</nodewithsometext></root>

i 
try DOMRange::toString() with DOMRange::StartBefore Document->getDocumentElment() and 
DOMRange::EndAfter Document->getDocumentElement(). toString now cycles and fills the string-
buffer endlessly with 'thetext's
It is probably a bug in DOMRange::nextNode. toString 
expects 0 to end the loop, whereas DOMRange::nextNode comes always back to fEndNode.

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org