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

XML Parsing differences

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: 1.3.0
    • Component/s: xml
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      1.3
    • CPU:
      x86
    • OS:
      windows
    • Verification:
      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

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

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: