[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

cocoon start from command line

Subject: cocoon start from command line
From: Sebastian Hauer <hauer@xxxxxxxxxxxxxxx>
Date: Tue, 9 May 2000 08:16:14 +0200 (MET DST)
cocoon start
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





 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.