cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ron Chan" <rcli...@i-tao.com>
Subject Re: Xerces 1.1.2 does not work
Date Mon, 17 Jul 2000 07:09:08 GMT
This came from an earlier message....

******
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"
*******

but it did not work for me, however when I left out the drive letter it did
work

I have a test system running on c:\home\project\htdocs

when I put in /home/project/htdocs as the document root, Xerces 1.1.2 worked
for me

but I think it will only work if the rest of the system runs from the same
drive

hope this helps
Ron


Ron Chan
mailto:rchan@i-tao.com
www.i-tao.com
i-tao ltd
4 Skyline Village
Limeharbour
London E14 9TS
UK
44 (0)20 7537 2233 office
44 (0)79 6807 2040 mobile

----- Original Message -----
From: Pedro E. Gómez <pgomez@pragma.com.co>
To: <cocoon-users@xml.apache.org>; Cocoon <cocoon-dev@xml.apache.org>
Sent: Sunday, July 16, 2000 1:21 PM
Subject: Xerces 1.1.2 does not work


> I have installed cocoon 1.7.x, xalan 1.1 and xerces 1.1.2 and the system
does not work propertly, when i try to see /cocoon/samples/index.xml i get
following error:
>
> Error found handling the request.
>
>      org.xml.sax.SAXParseException: File
"D:/Apache/jakarta-tomcat/webapps/ROOT/cocoon/samples/index.xml" not found.
>              at
org.apache.cocoon.parser.AbstractParser.fatalError(AbstractParser.java:105)
>              at
org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:998)
>              at
org.apache.xerces.readers.DefaultEntityHandler.startReadingFromDocument(Defa
ultEntityHandler.java:499)
>              at
org.apache.xerces.framework.XMLParser.parseSomeSetup(XMLParser.java:303)
>              at
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:860)
>              at
org.apache.cocoon.parser.XercesParser.parse(XercesParser.java:84)
>              at
org.apache.cocoon.parser.AbstractParser.parse(AbstractParser.java:83)
>              at
org.apache.cocoon.producer.ProducerFromFile.getDocument(ProducerFromFile.jav
a:78)
>              at org.apache.cocoon.Engine.handle(Engine.java, Compiled
Code)
>              at org.apache.cocoon.Cocoon.service(Cocoon.java:167)
>              at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>              at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java,
Compiled Code)
>              at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
>              at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection
(Ajp12ConnectionHandler.java:156)
>              at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338
)
>              at java.lang.Thread.run(Thread.java:479)
>
>
> It works fine with the sampe configuration but with xerces_1_0_3.jar
>
> What can I do? or Cocoon does not work with xerces 1.1.2 ?
>
> Thanks.
>
> ______________________________________
> Message sent with Misiva.
> Visit us at http://www.pragma.com.co/misiva
>


Mime
View raw message