Hi, John
The difference might be from Xerces. Xalan does not use the systemId
itself. The underlying parser (Xerces) uses it to resolve the file.
Morris Kwan
XSLT Development
IBM Toronto Lab
Tel: (905)413-3729
Email: [EMAIL PROTECTED]
John Gentilin
<gentijo@eyecatch To: [EMAIL PROTECTED]
ing.com> cc:
Subject: Re: XalanJ-2.4.1 breaks old
StreamSource
11/06/2002 03:03
PM
Please respond to
xalan-dev
Morris,
Thank you for the reply. I will check out the CVS code, although I already
modified my code to work with the new StreamSource. I just wanted to
point out that the codebase operates differently than 2.3
Regards
John G
[EMAIL PROTECTED] wrote:
> Hi, John
>
> I've fixed a realted problem in bug 13651
> (http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13651). The fix is not
> in 2.4.1. Please try with the latest CVS.
>
> In the StreamSource(String systemId) constructor, the systemId is
expected
> to be a String that conforms to the URI syntax. Although we also support
> absolute path as the systemId string, this feature is optional and not
> required by JAXP. The more correct usage is to always pass in a valid
URI.
>
> Also note that "file:\\\c:\Documents and
> Settings\gentijo\Projects\dir\dir\file.xsl" is NOT a valid URI. You
should
> use "file:///c:/Documents%20
> and%20Settings/gentijo/Projects/dir/dir/file.xsl".
>
> Morris Kwan
> XSLT Development
> IBM Toronto Lab
> Tel: (905)413-3729
> Email: [EMAIL PROTECTED]
>
>
> John Gentilin
> <gentijo@eyecatch To: xalan
<[EMAIL PROTECTED]>
> ing.com> cc:
> Subject: XalanJ-2.4.1
breaks old StreamSource
> 11/06/2002 01:04
> PM
> Please respond to
> xalan-dev
>
>
>
> When using the StreamSource(String p0) method, Xalan
> does not seem to support absolute path information now.
> This is different since CVS from a month ago.
>
> i.e.
> dir\dir\dir\file.xsl (works)
> ..\..\dir\file.xsl (works)
>
> c:\Documents and Settings\gentijo\Projects\dir\dir\file.xsl
> Unknown protocol c
>
> file:\\\c:\Documents and Settings\gentijo\Projects\dir\dir\file.xsl
> truncates the path info somewhere around 80 chars in. i.e you
> may only get
>
> file:\\\c:\Documents and Settings\gentijo\Projects\dir\dir\
> File not found
>
> Not sure what is really correct, but it does break earlier
> implementations.
>
> Regards
> John G
--
--------------------------------------
John Gentilin
Eye Catching Solutions Inc.
18314 Carlwyn Drive
Castro Valley CA 94546
Contact Info
[EMAIL PROTECTED]
Ca Office 1-510-881-4821
NJ Office 1-732-422-4917