[ http://nagoya.apache.org/jira/browse/XALANJ-1151?page=history ]

Henry Zongaro updated XALANJ-1151:
----------------------------------

    Priority: Major

> MalformedURLException when importing from stylesheet where system ID is not a 
> valid URL
> ---------------------------------------------------------------------------------------
>
>          Key: XALANJ-1151
>          URL: http://nagoya.apache.org/jira/browse/XALANJ-1151
>      Project: XalanJ2
>         Type: Bug
>   Components: XSLTC
>     Versions: 2.4Dx
>  Environment: Operating System: Windows NT/2K
> Platform: PC
>     Reporter: David Johansson
>     Assignee: Santiago Pericas-Geertsen

>
> I tried the nightly build from 20020827 and found that there is a problem 
> with 
> xsl:import if the original stylesheet does not have a valid URL as system ID. 
> Specifically, the line which tries to create a new URL for the imported 
> stylesheet (currently line 113 in .../xsltc/compiler/Import.java) fails 
> because 
> the string currLoadedDoc is a malformed URL.
> I worked around it by using full paths to the imported stylesheets and 
> changing 
> Import.java to not change the import path if the current document does not 
> exist as a file, but this would of course cause problems with relative URLs 
> to 
> other things than local files.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.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