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=6259>.
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=6259
FILE_PROTOCOL_PREFIX in XSLTLiaison to generate SystemIDs (<style> task)
Summary: FILE_PROTOCOL_PREFIX in XSLTLiaison to generate
SystemIDs (<style> task)
Product: Ant
Version: 1.4.1
Platform: All
OS/Version: Linux
Status: NEW
Severity: Major
Priority: Other
Component: Core tasks
AssignedTo: ant-dev@jakarta.apache.org
ReportedBy: sl@ragbildung.de
The prefix is always file:///. The description above it states that it should
not be a problem and in fact it isn't with xalan. Xalan brings its own
URIResolver and finds allstylesheets referd to in an <xsl:import>.
Choosing Saxon as XSLT processor doesn't work, since it relies on system calls
(java.net.URL) to resolve URIs. The generated URIs are malformatted and result
in an error message ona linux box (file://foo/bar.xsl, generated from
file:////foo/quuz.xsl and bar.xsl) Thus the <xsl:import> doesn't work when
using Saxon and once cannot make modular xsl stylesheets.
A solution is to use file:/// on win* machines and file:// on all others.
--
To unsubscribe, e-mail: <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>
|