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 2002/07/10 08:45:39 UTC

DO NOT REPLY [Bug 10626] New: - 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://nagoya.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://nagoya.apache.org/bugzilla/show_bug.cgi?id=10626

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

           Summary: XSLTC: xsl:import and xsl:include don't work when
                    URIResolver provided returns SAXSource or DOMSource
           Product: XalanJ2
           Version: CurrentCVS
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: org.apache.xalan.xsltc
        AssignedTo: xalan-dev@xml.apache.org
        ReportedBy: erik@bruchez.org


In case the Source is a SAXSource or a DOMSource,
TransformerFactory.getInputSource() sets it on the XSLTC instance. This works
for the top-level stylesheet, which checks on its _reader instance and calls
_parser.parse(_reader, input) if it is not null, but this doesn't work in Import
and Include.