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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to