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 2004/05/05 20:44:12 UTC

DO NOT REPLY [Bug 10626] - XSLTC: xsl:import and xsl:include don't work when URIResolver provided returns SAXSource or DOMSource

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=10626>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=10626

XSLTC: xsl:import and xsl:include don't work when URIResolver provided returns SAXSource or DOMSource





------- Additional Comments From eric@avolent.com  2004-05-05 18:44 -------
i tried the test with version 2.6.0 and got the following results:

Must parse simple-transform
URIResolver called with base = file:///D:/Avolent/Tools/x-
xalanj/patches/Bug10626_sampleSource/simple-transform, href = simple-include
Must parse simple-include
ERROR:  'org.apache.xml.utils.XMLChar.isValidQName(Ljava/lang/String;)Z'
FATAL ERROR:  'Could not compile stylesheet'
javax.xml.transform.TransformerConfigurationException: Could not compile 
stylesheet
        at org.apache.xalan.xsltc.trax.TransformerFactoryImpl.newTemplates
(TransformerFactoryImpl.java:753)
        at org.apache.xalan.xsltc.trax.TransformerFactoryImpl.newTransformer
(TransformerFactoryImpl.java:548)
        at XsltcTest.test(XsltcTest.java:51)
        at XsltcTest.main(XsltcTest.java:205)

i tried checking to see if any of the code changes included in erik's patch 
made it into the baseline. what i found was:

XSLTC.java - this change was checked in on 2/5/2003, version 1.48
Parser.java - does not appear to have made it in
TransformerFactoryImpl.java - does not appear to have made it in

because of subsequent changes to the TransformerFactoryImpl.java class, it is 
no longer evident to me where the new lines of code in erik's patch should go. 
hoping someone can help with that...

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org