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=20308>. 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=20308 Stylesheet includes not working with XSLTC ------- Additional Comments From [EMAIL PROTECTED] 2003-06-06 02:27 ------- I investigated this problem, it seems to be a fault in the Xalan source in o.a.xalan.xsltc.compiler.Include.parseContents() docToLoad is obtained from the href attribute of the element, the input source is then resolved based off the including stylesheet. however, after included stylesheet is processed, it sets its' systemID to docToLoad which can be a relative URI. This causes subsequent includes to attempt to resolve any includes based off this relative URI which prompty fails. Changing the code at line 161: _included.setSystemId(docToLoad) to: _included.setSystemId(input.getSystemId()) seemed to fix this problem for me.