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







Reply via email to