forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Vovsi" <m...@vovsi.com>
Subject Re: Fw: Problem defining a new document type
Date Mon, 03 Mar 2003 15:47:38 GMT
Sergio,

I think the problem is with this setting in your forrest.properties file:
# A local catalog to supplement the default Forrest catalog
project.catalog=${project.schema-dir}

by default this line is:
# A local catalog to supplement the default Forrest catalog
#project.catalog=${project.schema-dir}/catalog

I believe ${project.schema-dir}/catalog points to the actual catalog file,
not a directory. This confused me very much at the beginning as well. So
just change back the project.catalog property and stick the catalog file
under $project.schema-dir and give it a try.

- Mark

----- Original Message -----
From: "Sergio Ramazzina" <sramazzina@tiscalinet.it>
To: <forrest-dev@xml.apache.org>
Sent: Monday, March 03, 2003 10:30 AM
Subject: Re: Fw: Problem defining a new document type


> Jeff,
>
> I've tryed your suggestion but I've got  always the same error message. Do
> you have further suggestions?
>
> Thanks a lot for your help.
>
> Sergio
>
>
> ----- Original Message -----
> From: "Jeff Turner" <jefft@apache.org>
> To: <forrest-dev@xml.apache.org>; "Sergio Ramazzina"
> <sramazzina@tiscalinet.it>
> Sent: Monday, March 03, 2003 12:35 PM
> Subject: Re: Fw: Problem defining a new document type
>
>
> > On Mon, Mar 03, 2003 at 10:54:27AM +0100, Sergio Ramazzina wrote:
> > ....
> > > It seems that it isn't able to find the declaration for the new dtds
yet
> > > declared. Can someone help me to find the way to make things works? My
> > > version of Forrest is 0.4 and JDK 1.4.1_01.
> > > I've included the .dtd and .mod files, the forrest.properties, the
> catalog
> > > and catalog.xmod and the file index.xml that uses the new catalog.
> >
> > You have a typo in your catalog file:
> >
> >      1  -- OASIS TR 9401 Catalog for Forrest --
> >      2
> >      3  OVERRIDE YES
> >      4
> >      5
> >      6  -- Custom documents type definitions
> >      7  PUBLIC "-//EDOCS//DTD Requana V1.0//EN"
> >      8         "dtd/edocs-requana-v10.dtd"
> >      9
> >     10  -- Custom reusable modules --
> >     11  PUBLIC "-//EDOCS//ENTITIES Requana V1.0//EN"
> >     12          "dtd/edocs-requana-v10.mod"
> >
> >
> > Line 6 is an unclosed comment.  Should be:
> >
> >      6  -- Custom documents type definitions --
> >
> >
> > Syntax-highlighting editors are wonderful things :)
> >
> > Hope that fixes it.
> >
> >
> > --Jeff
> >
> > > Thanks a lot to everyone that will help me.
> > >
> > > Sergio
> >
> >
>


Mime
View raw message