You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2001/11/19 15:47:57 UTC
DO NOT REPLY [Bug 4950] New: -
Xerces144: Smoketest fails in SAXTransformerFactoryAPITest, TestXPathAPI
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4950>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4950
Xerces144: Smoketest fails in SAXTransformerFactoryAPITest, TestXPathAPI
Summary: Xerces144: Smoketest fails in
SAXTransformerFactoryAPITest, TestXPathAPI
Product: XalanJ2
Version: CurrentCVS
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: Other
Component: org.apache.xalan
AssignedTo: xalan-dev@xml.apache.org
ReportedBy: curcuru@apache.org
With xml-xalan CVS 9am 19-Nov-01 and using the latest Xerces 1.4.4 xerces.jar
file, two API Smoketests fail. These need investigating: I'm wondering if
subtle xerces changes are showing bugs in either part of xalan or if the tests
are actually looking for incorrect or not fully defined behavior.
Actual fails are:
TestID: SAXTransformerFactoryAPITest.java SAXTFactoryTest004 r1.7
<message level="40">SAXTFactoryTest004: This tests newTransformerhandler()
method which takes DOMSource as argument. Here a relative URI is used in
citiesinclude.xsl file. setSystemId is not used for DOMSource. It should throw
an exception. This is a negative test</message>
<message level="60">docBuilder.parse(new File
(tests/api\trax\sax\\impincl\citiesinclude.xsl))</message>
<message level="40">error threw: Had IO Exception with stylesheet
file: ../cities.xsl; SystemID: file:///E:\builds\xml-
xalan\test\javax.xml.transform.dom.DOMSource</message>
<message level="60">reader.parse(file:///E:/builds/xml-
xalan/test/tests/api/trax/sax/cities.xml) into:
smoketest/api\SAXTransformerFactoryAPITest\trax\sax\SAXTransformerFactoryAPITest
_4.out</message>
<checkresult result="Fail" desc="Should have thrown exception because systemId
not set!"/>
TestID: TestXPathAPITest.java several-checks r1.6
mismatch-value-gold;TEXT_NODE(#text);
http://www.w3.org/XML/1998/namespace
mismatch-value-text;TEXT_NODE(#text);
http://www.w3.org/2000/xmlns/
XHTFileCheckService files were not equal
<checkresult result="Fail" desc="selectNodeIterator() of /doc/namespace::* into
smoketest/api\TestXPathAPI\xalanj2\TestXPathAPI1_37.out"/>
(Above fail is repeated 3 times, for each kind of test with the same xpath)