You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Scott Boag/CAM/Lotus <Sc...@lotus.com> on 2000/07/12 23:54:42 UTC

Re: SAXParse error (cant find the file) when parsing stylesheets withcocoon

Ah.  I think I might know about this one.  Xerces changed it's handling of
SystemIDs, so that filenames are no longer valid... only URLs.  Try using:

"file:///D:/projects/<directory-name-omitted>/index.xml"

-scott




                                                                                                                        
                    Berin Loritsch                                                                                      
                    <bloritsch@infopla        To:     cocoon-dev@xml.apache.org                                         
                    nning.com>                cc:     (bcc: Scott Boag/CAM/Lotus)                                       
                                              Subject:     Re: SAXParse error (cant find the file) when parsing         
                    07/12/2000 01:52          stylesheets withcocoon                                                    
                    PM                                                                                                  
                    Please respond to                                                                                   
                    cocoon-dev                                                                                          
                                                                                                                        
                                                                                                                        



"Edwards, Jayme" wrote:
>
> I updated a project that uses cocoon to use Xerces 1.1.2 and I get the
following error
> whenever I try to browse XML documents that have the <?xml-stylesheet and
<?cocoon-process
> tags (these used to perform the transformation without a problem). It
almost looks like a pathing
> problem in the source for Xerces???
>
> org.xml.sax.SAXParseException: File
"D:/projects/<directory-name-omitted>/index.xml" not found.
>
> Note <directory-name-omitted> was added by me and not returned by cocoon.
>
> Jayme

I get the same error!
I thought it was my configuration.  Try down-grading to 1.1.1 and see if
that changes anything.

I get the same error regardless of Cocoon 1 or Cocoon 2.

But all the configuration files load and parse OK.  Anyone know what's
going on?