You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Sebastian Hauer <ha...@uni-freiburg.de> on 2000/05/07 22:13:10 UTC
command line error
Hi,
I always get the same kind of error message trying to call cocoon from the
command line.
Cocoon can't find my DTD file specified in my XML document.
I call cocoon like this:
java org.apache.cocoon.Cocoon -p ~/cocoon.properties mitg.xml m.html
and what I get is this:
-----------------------------------snip---------------------------------
Exception in thread "main" File "sciencedoc.dtd" not found. [FATAL ERROR]
[File:
"" Line: -1 Column: -1]
at
org.apache.cocoon.parser.AbstractParser.fatalError(AbstractParser.jav
a:105)
.
.
-----------------snap---------------------------------------------------
And this is the head of my xml file:
-----------------------snip---------------------------------------------
<?xml version="1.0" encoding="iso-8859-1"?>
<?xml-stylesheet href="psycho12.xsl" type="text/xsl"?>
<?cocoon-process type="xslt"?>
<!DOCTYPE sciencedoc SYSTEM "sciencedoc.dtd">
<sciencedoc>
--------------------snap-------------------------------------------------
What am I doing wrong???
Thanks a lot for your help in advance.
Bye,
Sebastian