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 2003/11/04 00:53:09 UTC

DO NOT REPLY [Bug 24371] New: - dom parser would crash without warning when parsing an ill-formed xml document

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=24371>.
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=24371

dom parser would crash without warning when parsing an ill-formed xml document

           Summary: dom parser would crash without warning when parsing an
                    ill-formed xml document
           Product: Xerces-C++
           Version: 2.3.0
          Platform: PC
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: DOM
        AssignedTo: xerces-c-dev@xml.apache.org
        ReportedBy: xuefu.wang@kodak.com


dom parser would crash without warning when parsing an ill-formed xml document.
one example is attached below (note that one of the "<" is missing )

<?xml version="1.0" encoding="iso-8859-1"?>
<SEND_MESSAGE>
         <MESSAGE_TYPE>MOVE_STUDY/MESSAGE_TYPE>
         <REQUEST_SEQUENCE>
                    <PREFETCH_REQUEST_ID>929838</PREFETCH_REQUEST_ID>
                    <ACCESSION_NUMBER>88888888</ACCESSION_NUMBER>
                    <PATIENT_ID>123456</PATIENT_ID>
                    
<STUDY_INSTANCE_UID>1.2.840.113564.9.1.20030218.104212.20030716.103328.2.2002570
3</STUDY_INSTANCE_UID>
         </REQUEST_SEQUENCE>
         <REQUEST_SEQUENCE>
                    <PREFETCH_REQUEST_ID>929839</PREFETCH_REQUEST_ID>
                    <ACCESSION_NUMBER>88888889</ACCESSION_NUMBER>
                    <PATIENT_ID>123456</PATIENT_ID>
                    
<STUDY_INSTANCE_UID>1.2.840.113564.9.1.20030218.104212.20030716.103328.2.2002570
4</STUDY_INSTANCE_UID>
         </REQUEST_SEQUENCE>
         <REPLY>
                 <MESSAGE_TYPE>MOVE_STUDY_REPLY</MESSAGE_TYPE>
         </REPLY>
</SEND_MESSAGE>

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