Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6594813

XML Parsing differences

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • P2
    • Resolution: Fixed
    • 1.0
    • 1.3.0
    • xml
    • 1.3
    • x86
    • windows
    • Verified

    Backports

      Description

        During test of NY with ADS (Adobe Document Services), a problem is found in the XML parser. Adobe passed XML data (with name space) and they expected parser result
        with name space. Adobe created sample problem for it. (Please look at attachment. Just
        need to compile and run without parameter)

        Expected result:
        <?xml version="1.0" encoding="UTF-8"?><xfa:datasets xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/"><xfa:data><testxml>Test Content</testxml></xfa:data></xfa:datasets>

        With Sun JDK(s) 1.4.xx, 1.5.0_11 and 1.6.xx, the expected output is obtained.

        But with Sun JDK 1.5.0_12, different (unexpected)output is returned:
        <?xml version="1.0" encoding="UTF-8"?><xfa:datasets><xfa:data><testxml>Test Cont
        ent</testxml></xfa:data></xfa:datasets>

        No name space is returned. The Paraser result has namespace in the other JDK versions other than JDK 1.5 U12. What has changed in this version to produce this result? The changelog does not document this.

        Attachments

          Issue Links

            Activity

              People

                spericas Santiago Pericasgeertsen
                duke J. Duke (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: