Uploaded image for project: 'Santuario'
  1. Santuario
  2. SANTUARIO-523

XMLSecurityStreamReader ignores information in XML document declaration

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Java 2.1.4
    • Java 2.2.0, Java 2.1.5
    • Java
    • None

    Description

      XMLSecurityStreamReader ignores information such as version, character encoding scheme and standalone-ness in the XML document declaration.
      The implementation always returns null/false, indicating the defaults version "1.0", character encoding scheme "UTF-8", even if the XML document specifies something else.

      The following example will have the wrong version, encoding and standalone-ness:

      <?xml version='1.1' encoding='ISO-8859-1' standalone='yes'?>
      </Document>
      

      Attachments

        1. SANTUARIO-523.patch
          13 kB
          Peter De Maeyer
        2. SANTUARIO-523-2.1.x.patch
          14 kB
          Peter De Maeyer
        3. SANTUARIO-523-amendment1.patch
          4 kB
          Peter De Maeyer

        Activity

          People

            coheigea Colm O hEigeartaigh
            peterdm Peter De Maeyer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: