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

TCK test api/org_w3c/dom/CDATASection/index.html#CDATASection mised SAXParseException on wrong XML

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: jaxp_2.0
    • Fix Version/s: 5.0
    • Component/s: xml
    • Labels:

      Description

      TCK(JCK) 6.0 b04 test
         api/org_w3c/dom/CDATASection/index.html#CDATASection[CDATASection003]
      failed on mustang b46, Solaris 8, x86 ( also on Solaris 10,x86, Windows 2000, WinXP home,
       JDS 3 IA32,...), passed on mustang b45.
      This test expects SAXParseException ( nested CDATA is not allowed ), but don't get it.
      Tested XML file ( see also in attach )
      -----------------------------------
      <?xml version='1.0'?>
                           <root>
                             <![CDATA[
                             <![CDATA[
                             ]]>
                             ]]>
                           </root>
      -----------------------------------
      Test Outputs:
      #Test Results (version 2)
      #Tue Aug 09 04:56:14 MSD 2005
      #checksum:19e874d83f1baa73
      #-----testdescription-----
      $file=/set/stt/jck_promotions/6.0/beta/b04/binaries/JCK-runtime-60/tests/api/org_w3c/dom/CDATASection/index.html
      $root=/set/stt/jck_promotions/6.0/beta/b04/binaries/JCK-runtime-60/tests
      executeArgs=-TestCaseID ALL
      executeClass=javasoft.sqe.tests.api.org.w3c.dom.CDATASection.CDATASectionTests
      id=CDATASection
      keywords=positive runtime
      source=CDATASectionTests.java
      title=Tests for the interface CDATASection()

      #-----environment-----
      command.testExecute=com.sun.jck.lib.ExecJCKTestOtherJVMCmd LD_LIBRARY_PATH=/set/stt/jck_promotions/6.0/beta/b04/binaries/JCK-runtime-60/lib/SunOS.x86:/set/stt/jck_promotions/6.0/beta/b04/binaries/JCK-runtime-60/lib/SunOS.x86/jmx:/set/stt/jck_promotions/6.0/beta/b04/binaries/JCK-runtime-60/lib/SunOS.x86 DISPLAY=stt-05:0.0 HOME=${user.home} /set/stt/jdk_promotions/JDK6.0/b46/binaries/solaris-i586/jre1.6.0/bin/java -Xshare:off ${jvmtiAgentOptions} -Xfuture $jdwpAgentOptions -classpath $testSuiteRootDir/classes $JPLISAgentOpts $JPLISAgent2Opts -Djava.security.policy=$testSuiteRootDir/lib/jck.policy $testExecuteClass $testExecuteArgs
      user.home=/home/stt-robot

      #-----testresult-----
      description=file:///set/stt/jck_promotions/6.0/beta/b04/binaries/JCK-runtime-60/tests/api/org_w3c/dom/CDATASection/index.html#CDATASection
      end=Tue Aug 09 04:56:14 MSD 2005
      environment=jck15
      execStatus=Failed. test cases: 5; passed: 4; failed: 1; first test case failure: CDATASection003
      javatestOS=SunOS 5.8 (x86)
      javatestVersion=3.2.1
      script=com.sun.jck.lib.JCKScript
      sections=script_messages testExecute
      start=Tue Aug 09 04:56:11 MSD 2005
      test=api/org_w3c/dom/CDATASection/index.html#CDATASection
      timeoutSeconds=600
      work=/set/stt/jck_workspace/mustang/b46/jck/Solaris8_x86-Xshare_off-jck-6.0-runtime/workDir/api/org_w3c/dom/CDATASection

      #section:script_messages
      ----------messages:(1/24)----------
      Executing test class...

      #section:testExecute
      ----------messages:(1/690)----------
      command: com.sun.jck.lib.ExecJCKTestOtherJVMCmd LD_LIBRARY_PATH=/set/stt/jck_promotions/6.0/beta/b04/binaries/JCK-runtime-60/lib/SunOS.x86:/set/stt/jck_promotions/6.0/beta/b04/binaries/JCK-runtime-60/lib/SunOS.x86/jmx:/set/stt/jck_promotions/6.0/beta/b04/binaries/JCK-runtime-60/lib/SunOS.x86 DISPLAY=stt-05:0.0 HOME=/home/stt-robot /set/stt/jdk_promotions/JDK6.0/b46/binaries/solaris-i586/jre1.6.0/bin/java -Xshare:off -Xfuture -classpath /set/stt/jck_promotions/6.0/beta/b04/binaries/JCK-runtime-60/classes -Djava.security.policy=/set/stt/jck_promotions/6.0/beta/b04/binaries/JCK-runtime-60/lib/jck.policy javasoft.sqe.tests.api.org.w3c.dom.CDATASection.CDATASectionTests -TestCaseID ALL
      ----------out1:(6/258)----------
      CDATASection001: Passed. OK
      CDATASection002: Passed. OK
      CDATASection003: Failed. SAXParseException expected
      CDATASection004: Passed. OK
      CDATASection005: Passed. OKEY
      STATUS:Failed.test cases: 5; passed: 4; failed: 1; first test case failure: CDATASection003
      ----------out2:(0/0)----------
      result: Failed. test cases: 5; passed: 4; failed: 1; first test case failure: CDATASection003


      test result: Failed. test cases: 5; passed: 4; failed: 1; first test case failure: CDATASection003

        Attachments

          Activity

            People

            • Assignee:
              joehw Joe Wang
              Reporter:
              dgubkin Dmitriy Gubkin (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: