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

XMLParserTest unit test failure.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 9
    • None
    • deploy
    • b65

    Backports

      Description

        The new XMLParser will no longer trim CDATA content, so that a node of:
        <foo> </foo> actaully has a sub element named " ".
        This has no effect on actuall running, but several test cases in XMLParserTest fail when either just space exists between start and end element and then XMLNode is compared such as:
        <jnlp>/n</jnlp> is compared to see if it is equal to <jnlp/>

        simple fix is to remove spaces and newlines explicitly put between tags in test

        Attachments

          Issue Links

            Activity

              People

                herrick Andy Herrick (Inactive)
                herrick Andy Herrick (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: