From: SourceForge.net <no...@so...> - 2007-06-27 06:52:49
|
Bugs item #1742826, was opened at 2007-06-25 15:07 Message generated for change (Comment added) made by bodewig You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377768&aid=1742826&group_id=23187 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Interface (example) Group: v1.0 (example) >Status: Closed Resolution: None Priority: 5 Private: No Submitted By: Stephen Smith (stephen_smith) Assigned to: Nobody/Anonymous (nobody) Summary: Transform#getTransformer should set URIResolver first. Initial Comment: At present Transformer#getTransformer(Source) instantiates the XSL stylesheet before setting the URI resolver. This means that if the XSL stylesheet contains any include statements, the URI resolver is not yet present and XSL compilation will fail. I can't find a workaround for this in the current Transform API. Could the URI resolver be set just before the stylesheet is instantiated please? ---------------------------------------------------------------------- >Comment By: Stefan Bodewig (bodewig) Date: 2007-06-27 08:52 Message: Logged In: YES user_id=113148 Originator: NO Good catch! And just in time for the release. Fixed in svn trunk, will be fixed in XMLUnit 1.1 final. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377768&aid=1742826&group_id=23187 |