[ http://issues.apache.org/jira/browse/XALANJ-1566?page=history ]
     
Henry Zongaro resolved XALANJ-1566:
-----------------------------------

     Assign To:     (was: Xalan Developers Mailing List)
    Resolution: Fixed

Nicolas, the bug you report looks like a problem that was fixed by Santiago 
Pericas-Geertsen late in 2003.  Could I ask you to try using Xalan-J 2.6.0 or 2.5.2 to 
verify that the problem has been fixed?  If you still experience the problem, please 
reopen this bug report.

> Stylesheet with xsl:include does not compile
> --------------------------------------------
>
>          Key: XALANJ-1566
>          URL: http://issues.apache.org/jira/browse/XALANJ-1566
>      Project: XalanJ2
>         Type: Bug
>   Components: XSLTC
>     Versions: 2.5
>  Environment: Operating System: Windows NT/2K
> Platform: PC
>     Reporter: Nicolas Moy�re
>  Attachments: patch20806.txt
>
> I have a style sheet with xsl:include of other sheets. The given URL are
> absolute file paths like in the following exemple:
> <xsl:include
> href="file:/E:/build/Dev/Studio/tools/allGenerate/com/calendra/mg/uiguidelines/BorderProperty/BorderProperty_css.xsl"/>
> When I am executing the following line, all works fine:
>   SAXfactory = (SAXTransformerFactory)TransformerFactory.newInstance();
>   Template template = SAXfactory.newTemplates(new StreamSource(<main xsl URL>));
> But when I am executing 
>   SAXfactory = (SAXTransformerFactory)TransformerFactory.newInstance();
>   Template template = SAXfactory.newTemplates(new StreamSource(new
> FileInputStream(<main xsl URL>)));
> I have a javax.xml.transform.TransformerConfigurationException. XSLTC can't
> find the included files while their URL are absolute paths.
> I need to execute 
>   Template template = SAXfactory.newTemplates(new StreamSource(new
> FileInputStream(<main xsl URL>), <main xsl directory path)));
> to make it compile the sheet.
> The bug also occurs when using XMLFilter.
> The problem is that the interpretive xalan works fine without the above change
> in the code.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to