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

XML Parsing differences

XMLWordPrintable

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

        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.

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: