cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Meukens, Kris" <kris.meuk...@eds.com>
Subject DTD Help
Date Thu, 23 Nov 2000 11:27:31 GMT
Hi,

I have a DTD included in the xml file to be transformed by Cocoon:

<!DOCTYPE Document PUBLIC "-//Company//Document Version 1.0 DTD//EN"
"http://beahw1075708/oml/dtd/Document-1.0.dtd">

Now I can access the DTD file using the above URL.

However Cocoon comes with the message:

org.xml.sax.SAXException: File
"http://beahw1075708/oml/dtd/Document-1.0.dtd" not found. [FATAL ERROR]
[File:
"file:E:/beahw1075708/wwwroot/bin/oml/object/content/nl/communicatie/D03.01.
02.xml" Line: 0 Column: 0]
	at
org.apache.cocoon.parser.AbstractParser.fatalError(AbstractParser.java:105)
	at
org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1037)
	at
org.apache.xerces.readers.DefaultEntityHandler.startReadingFromExternalEntit
y(DefaultEntityHandler.java:788)
	at
org.apache.xerces.readers.DefaultEntityHandler.startReadingFromExternalSubse
t(DefaultEntityHandler.java:566)
	at
org.apache.xerces.framework.XMLDTDScanner.scanDoctypeDecl(XMLDTDScanner.java
:1131)
	at
org.apache.xerces.framework.XMLDocumentScanner.scanDoctypeDecl(XMLDocumentSc
anner.java:2177)
	at
org.apache.xerces.framework.XMLDocumentScanner.access$000(XMLDocumentScanner
.java:86)
	at
org.apache.xerces.framework.XMLDocumentScanner$PrologDispatcher.dispatch(XML
DocumentScanner.java:882)
	at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.
java:380)
	at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:900)
	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:340)
	at org.apache.cocoon.Cocoon.service(Cocoon.java:167)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
	at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1013)
	at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:925)
	at
allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.jav
a:88)
	at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1131)
	at allaire.jrun.servlet.JvmContext.dispatch(JvmContext.java:330)
	at allaire.jrun.jrpp.ProxyEndpoint.run(ProxyEndpoint.java:367)
	at allaire.jrun.ThreadPool.run(ThreadPool.java:272)
	at allaire.jrun.WorkerThread.run(WorkerThread.java:75)


What's wrong?

Regards,
Kris.

Mime
View raw message