ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 39407] - Change <xslt> task to accept the XSLT stylesheet as a resource
Date Fri, 28 Apr 2006 00:07:05 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39407>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39407





------- Additional Comments From rambiusparkisanius@yahoo.com  2006-04-28 00:07 -------
The new patch xslt.diff implements Antoine's remarks:
- it adds XSLTPorocess.addConfigured(Resource stylesheet) method, which handles
the nested stylesheet resource;
- private variable xslFile in XSLTProcess is restored and it contains the value
of style attribute; if it is not null it is resolved to a File in
XSLTProcess.execute() and the File is then converted to a FileResource, which is
used as a stylesheet resource;
- if both style attribute and nested stylesheet resource are supplied a
BuildException is thrown; if none is supplied again a BuildException is thrown;
- Instead of adding setStylesheet(Resource) to XSLTLiaison2 interface (which can
break bwc), a new interface XSLTLiaison3 is created, which extends XSLTLiaison2
and declares setStylesheet(Resource). TraXLiaison implements now XSLTLiaison3

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message