DO NOT REPLY [Bug 20308] - Stylesheet includes not working with XSLTC
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 [EMAIL PROTECTED] changed: What|Removed |Added Status|RESOLVED|CLOSED --- Additional Comments From [EMAIL PROTECTED] 2003-11-10 18:38 --- Looks good from here. Thank you to all!
DO NOT REPLY [Bug 20308] - Stylesheet includes not working with XSLTC
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 [EMAIL PROTECTED] changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2003-11-06 23:50 --- This bug depends on bug 20537, which is marked as fixed and closed. Sam tested it with XSTLC 2.5.2 and it works. This updated version is already in use for Cocoon.
DO NOT REPLY [Bug 20308] - Stylesheet includes not working with XSLTC
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-11-06 23:51 --- Dave, can you test if everything works for you now? Please close the bug afterwards.
DO NOT REPLY [Bug 20308] - Stylesheet includes not working with XSLTC
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 [EMAIL PROTECTED] changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||WONTFIX --- Additional Comments From [EMAIL PROTECTED] 2003-10-06 15:56 --- It's a Xalan problem, we won't fix it here.
DO NOT REPLY [Bug 20308] - Stylesheet includes not working with XSLTC
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 [EMAIL PROTECTED] changed: What|Removed |Added Version|2.1m2 |Current CVS 2.1 --- Additional Comments From [EMAIL PROTECTED] 2003-09-06 01:54 --- Changed to Current CVS 2.1 but it is from 2.1 M2.
DO NOT REPLY [Bug 20308] - Stylesheet includes not working with XSLTC
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-09-04 17:19 --- From: Phil Shafer [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: PR 20308 Date: Fri, 15 Aug 2003 16:41:43 -0400 I'm seeing a problem running xalan 2.5.1 that is related to PR 20308. xsl:imports are losing the relative directory, because the systemId for imported stylesheets is not fully qualified and any relative path from the current stylesheet is dropped. This problem is seen when a stylesheet is imported with a relative path imports another stylesheet using a relative path. The fix I came up with is: *** orig/src/org/apache/xalan/xsltc/compiler/Import.javaFri May 30 11:07:01 2003 - --- src/org/apache/xalan/xsltc/compiler/Import.java Fri Aug 15 16:21:45 2003 *** *** 106,111 - --- 106,112 if (loader != null) { final XSLTC xsltc = parser.getXSLTC(); input = loader.loadSource(docToLoad, currLoadedDoc, xsltc); + docToLoad = input.getSystemId(); reader = xsltc.getXMLReader(); } else { *** orig/src/org/apache/xalan/xsltc/compiler/Include.java Fri May 30 11:06:39 2003 - --- src/org/apache/xalan/xsltc/compiler/Include.java Fri Aug 15 16:21:35 2003 *** *** 107,112 - --- 107,113 if (loader != null) { final XSLTC xsltc = parser.getXSLTC(); input = loader.loadSource(docToLoad, currLoadedDoc, xsltc); + docToLoad = input.getSystemId(); reader = xsltc.getXMLReader(); } else { This patch is similar too the suggested fix for 20308, which is: *** *** 158,164 if (_included == null) return; _included.setSourceLoader(loader); ! _included.setSystemId(docToLoad); _included.setParentStylesheet(context); _included.setIncludingStylesheet(context); _included.setTemplateInlining(context.getTemplateInlining()); - --- 159,165 if (_included == null) return; _included.setSourceLoader(loader); ! _included.setSystemId(input.getSystemId()); _included.setParentStylesheet(context); _included.setIncludingStylesheet(context); _included.setTemplateInlining(context.getTemplateInlining()); Except that this second fix does not change docToLoad, since is only used in error messages. I followed the style of the 'else' clause which does update docToLoad. In either case, please be sure to repair Import.java when you fix Include.java. Thanks, Phil
DO NOT REPLY [Bug 20308] - Stylesheet includes not working with XSLTC
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 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |ASSIGNED --- Additional Comments From [EMAIL PROTECTED] 2003-07-30 02:34 --- Waiting for the next release or using CVS version?
DO NOT REPLY [Bug 20308] - Stylesheet includes not working with XSLTC
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-07-17 13:48 --- Yes, but I'm using xsl:include in my transformations. In fact, I don't know what is the connection with simpleform and I don't care anymore 'cos I'm using XForms now, but I can still see the connection between cinclude and xsl:include cos it doesn't work when xsl transforamtion is before cinclude transformation. I don't exactly remember what was wrong with simpleform. It was something with error tag which was corrected in M1.
DO NOT REPLY [Bug 20308] - Stylesheet includes not working with XSLTC
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-07-17 19:39 --- We depend on XSLTC here. If you want to have it fixed, you have to vote for bug 20537 I guess.