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

REGRESSION: JCK-runtime-6.0: api/org_w3c/dom/ls/LSSerializer/index.html#write failed, mustang b56

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b64
    • CPU:
      x86
    • OS:
      windows
    • Verification:
      Verified

      Description

      JCK : 6.0_b09
      J2SE : FAIL - mustang b56
                     : PASS - mustang b55
      Platform[s] : all
      switch/Mode : all

      The default value of one of DOMConfiguration parameters is incorrect.

      Test passed on the previous builds, because instance of DOMConfiguration, returned by LSSerializer.getDomConfig() method didn't contain "normalize-characters" parameter. Since mustang b56 DOMConfiguration appears to contain this parameter, but it's value by default is "false", while it should be "true" up to specification. Here is the quotation from the spec:
      "normalize-characters" - This parameter is equivalent to the one defined by DOMConfiguration in [DOM Level 3 Core] . Unlike in the Core, the default value for this parameter is true. While DOM implementations are not required to support fully normalizing the characters in the document according to appendix E of [XML 1.1], this parameter must be activated by default if supported.
                       
      Failing Tests :
      api/org_w3c/dom/ls/LSSerializer/index.html#write

      Test source location:
      /net/jre.sfbay/p/v10/jck/6.0/beta/b09/binaries/JCK-runtime-60/tests/api/org_w3c/dom/ls/LSSerializer/index.html

      How to reproduce:
      ====================
      #!/bin/sh

      JDK="c:/jdk/b56/windows-i586/jdk1.6.0"
      JCK="/net/jre.sfbay/p/v10/jck/6.0/beta/b09/binaries/JCK-runtime-60"
      CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"

      TEST="javasoft.sqe.tests.api.org.w3c.dom.ls.LSSerializer.writeTests -TestCaseID ALL -TestURL file:///$JCK/tests/api/org_w3c/dom/ls/LSSerializer/index.html#write -TestWorkDirURL file:///$JCK/tests/api/org_w3c/dom/ls/LSSerializer/"

      POLICY="-Djava.security.policy=$JCK/lib/jck.policy"

      $JDK/bin/java -showversion -cp $CLASSPATH $POLICY $TEST

      Test output:
      =============
      ----------out1:(14/553)----------
      write0001: Passed. OKAY
      write0002: Passed. OKAY
      write0003: Passed. OKAY
      write0004: Passed. OKAY
      write0005: Passed. OKAY
      write0006: Passed. OKAY
      write0007: Passed. OKAY
      write0008: Failed. Incorrect default value of normalize-characters parameter
      write0009: Passed. OKAY: setting a parameter 'canonical-form' to true is not supported by this implementation
      write0010: Passed. OKAY
      write0011: Passed. OKAY
      write0012: Passed. OKAY
      write0013: Passed. OKAY
      STATUS:Failed.test cases: 13; passed: 12; failed: 1; first test case failure: write0008

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sreddysunw Sunitha Reddy (Inactive)
              Reporter:
              aishmetysunw Arthur Ishmetyev (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: