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/05/13 15:20:35 UTC
DO NOT REPLY [Bug 9018] -
document() function not working if xsl templates loaded from a byte stream
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=9018>.
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=9018
document() function not working if xsl templates loaded from a byte stream
------- Additional Comments From curcuru@apache.org 2002-05-13 13:20 -------
Did you call stylesheet.setSystemID(URLOfStylesheetFile) before asking it to transform?
Since you're feeding it a byteStream, it doesn't know where on disk it came from, and thus
document() calls which have to resolve a path may fail.
Also recall that Xalan expects URLs, not
local path\filenames (although in some cases, local path\filenames end up working anyways.)