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

Regression : TCK failures

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.4.0
    • xml

      Regression : TCK failures

      These are TCK tests - so include javatest.jar in classpath
      available at - /net/sqindia/export/disk06/jaxp/web/javatest/javatest.jar
       or http://sqindia.india.sun.com/jaxp/web/javatest/javatest.jar


      attached TestRun.java & required XMLs

      set classpath to javatest.jar

      javac TestRun.java



      1.
      java -Djava.endorsed.dirs=${jaxp14-b05-jars} TestRun -type not-wf ibm68n06.xml

      Message :STATUS:Failed.The negative testcase unexpectedly passed.

      expected :
      Fatal Error: file:/home/sa122568/Jaxp/jaxp14/jaxp14tests/test20/ibm68n06.xml(-1,-1): The reference to entity "aaa" declared in an external parsed entity is not permitted in a standalone document.
      STATUS:Passed.OK. Error reported for negative testcase.



      2.
      java -Djava.endorsed.dirs=${jaxp14-b05-jars} TestRun -type not-wf ibm29n06.xml

      Message :Exception in thread "main" java.lang.NullPointerException
              at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.skipChar(XMLEntityScanner.java:1440)
              at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanComment(XMLScanner.java:781)
              at com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.scanComment(XMLDTDScannerImpl.java:830)
              at com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.scanDecls(XMLDTDScannerImpl.java:1980)
              at com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.scanDTDInternalSubset(XMLDTDScannerImpl.java:397)
              at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.dispatch(XMLDocumentScannerImpl.java:1125)
              at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.next(XMLDocumentScannerImpl.java:1080)
              at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:981)
              at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:664)
              at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:159)
              at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:526)
              at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:844)
              at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:774)
              at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
              at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1255)
              at javax.xml.parsers.SAXParser.parse(SAXParser.java:376)
              at javax.xml.parsers.SAXParser.parse(SAXParser.java:258)
              at TestRun.parseInstanceDoc(TestRun.java:133)
              at TestRun.runPositiveTest(TestRun.java:240)
              at TestRun.runNegativeTest(TestRun.java:262)
              at TestRun.run(TestRun.java:79)
              at TestRun.setLogsAndRun(TestRun.java:275)
              at TestRun.main(TestRun.java:284)


      expected :
      Fatal Error: null(-1,-1): Premature end of file.
      STATUS:Passed.OK. Error reported for negative testcase.


      3.
      java -Djava.endorsed.dirs=${jaxp14-b05-jars} TestRun -type not-wf ibm14n01.xml

      Message :STATUS:Failed.The negative testcase unexpectedly passed.

      expected :
      Fatal Error: file:/home/sa122568/Jaxp/jaxp14/jaxp14tests/test20/ibm14n01.xml(9,42): The character sequence "]]>" must not appear in content unless used to mark the end of a CDATA section.
      STATUS:Passed.OK. Error reported for negative testcase.


      4.
      java -Djava.endorsed.dirs=${jaxp14-b05-jars} TestRun -type valid ibm89v01.xml

      Message :
      Fatal Error: file:/home/sa122568/Jaxp/jaxp14/jaxp14tests/test20/ibm89v01.xml(6,3): The markup declarations contained or pointed to by the document type declaration must be well-formed.
      STATUS:Failed.Fatal Error: file:/home/sa122568/Jaxp/jaxp14/jaxp14tests/test20/ibm89v01.xml(6,3): The markup declarations contained or pointed to by the document type declaration must be well-formed.

      expected :STATUS:Passed.OK.



      5.
      java -Djava.endorsed.dirs=${jaxp14-b05-jars} TestRun -type valid ibm32v04.xml

      Message :
      Error: file:/home/sa122568/Jaxp/jaxp14/jaxp14tests/test20/ibm32v04.xml(4,11): Attribute "xml:space" must be declared for element type "a".
      STATUS:Failed.ErrorHandler reports 1 errors, 0 warnings.

      expected :STATUS:Passed.OK.


      ###@###.### 2005-06-23 04:50:14 GMT

            nbajajsunw Neeraj Bajaj (Inactive)
            saksunw Sreejith Ak (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: