xml-xalan-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Hayes (JIRA)" <xalan-...@xml.apache.org>
Subject [jira] Closed: (XALANC-582) With certain characters in folder path compileStylesheet & transform fails with fatal error
Date Fri, 16 Dec 2005 15:45:46 GMT
     [ http://issues.apache.org/jira/browse/XALANC-582?page=all ]
     
Dmitry Hayes closed XALANC-582:
-------------------------------

    Resolution: Won't Fix

> With certain characters in folder path compileStylesheet & transform fails with fatal
error
> -------------------------------------------------------------------------------------------
>
>          Key: XALANC-582
>          URL: http://issues.apache.org/jira/browse/XALANC-582
>      Project: XalanC
>         Type: Bug
>   Components: XalanC
>     Versions: 1.9
>  Environment: Windows 2000, Windows 2003
>     Reporter: mutum singh
>     Priority: Critical

>
> If I try to compile a stylesheet or transform using a stylesheet from a folder which
has characters # or % it fails with fatal error.
> This can be reproduced with the sample executables XalanTransform.exe & CompileStylesheet.exe.
> Sample output below :
> ---------------------------------------
> C:\Temp\test#>CompileStylesheet
> Fatal Error.Occurred at unknown file , line 0 , column 0. An exception occurred!
>  Type:RuntimeException, Message:The primary document entity could not be opened.
>  Id=foo.xsl
> CompileStylesheet Error: SAXParseException: An exception occurred! Type:RuntimeE
> xception, Message:The primary document entity could not be opened. Id=foo.xsl (,
>  line 0, column 0)
> C:\Temp\test#>XalanTransform foo1.xml foo.xsl foo.tmp
> Fatal Error.Occurred at unknown file , line 0 , column 0. An exception occurred!
>  Type:RuntimeException, Message:The primary document entity could not be opened.
>  Id=foo1.xml
> Error: SAXParseException: An exception occurred! Type:RuntimeException, Message:
> The primary document entity could not be opened. Id=foo1.xml (, line 0, column 0
> )
> ---------------------------------------
> C:\Temp\test%>XalanTransform foo1.xml foo.xsl foo.tmp
> Fatal Error.Occurred at unknown file , line 0 , column 0. An exception occurred!
>  Type:MalformedURLException, Message: '/C:/Temp/test%/foo1.xml' contains invalid
>  escape sequence '%/f'
> Error: SAXParseException: An exception occurred! Type:MalformedURLException, Mes
> sage: '/C:/Temp/test%/foo1.xml' contains invalid escape sequence '%/f' (, line 0
> , column 0)
> C:\Temp\test%>CompileStylesheet
> Fatal Error.Occurred at unknown file , line 0 , column 0. An exception occurred!
>  Type:MalformedURLException, Message: '/C:/Temp/test%/foo.xsl' contains invalid
> escape sequence '%/f'
> CompileStylesheet Error: SAXParseException: An exception occurred! Type:Malforme
> dURLException, Message: '/C:/Temp/test%/foo.xsl' contains invalid escape sequenc
> e '%/f' (, line 0, column 0)

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


Mime
View raw message