[ 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to