Uploaded image for project: 'Xerces-C++'
  1. Xerces-C++
  2. XERCESC-1039

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Resolution: Fixed
    • 2.3.0
    • 2.4.0
    • DOM
    • None
    • Operating System: Other
      Platform: PC
    • 24371

    Description

      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>

      Attachments

        Activity

          People

            Unassigned Unassigned
            xuefu.wang@kodak.com Xuefu Wang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: