forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul.Div...@alcatel.fr
Subject Re: user@forrest.apache.org : location of the download-v10.dtd file in the adding new content type example
Date Mon, 20 Jun 2005 12:47:58 GMT
Thanks a lot.
I delete the copy of the dtd in the current direcory and restart forrest. 
So It use the catalogue.

Everything OK

Paul




David Crossley <crossley@apache.org>
20/06/2005 10:04
Please respond to user
 
        To:     user@forrest.apache.org
        cc: 
        Subject:        Re: user@forrest.apache.org : location of the 
download-v10.dtd file  in the adding new content type example


Paul.Divine@alcatel.fr wrote:
> hi!
> I followed the instruction in the "adding new content type" paragraph in 

> the Using forrest 0.6 on line documentation to add the download.xml 
> example.
> 
> Forrest displays a dtdt not found message. It searches the dtd file in 
the 
> current directory and not in the src/documentation/resources/schema/dtd 
> 
> So I put the dtdt file in the current directory and it works well.
> 
> Do I missed something or is it a problem in the documentation.

You missed something with setting up the Catalog Entity Resolver.

If you simply put the DTD in the current directory then you would
need to have copies in any sub-directories, or use relative paths
in each xml instance. Messy.

Are you sure that you followed the instructions?
http://forrest.apache.org/docs/your-project.html#new_dtd
http://forrest.apache.org/docs/validation.html#Creating+or+extending+a+DTD

-David


Mime
View raw message