forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Crossley <cross...@apache.org>
Subject Re: Working - RE: Glossary Plugin FOR-755 - was RE: [jira] Updated: (FOR-639) define terminology for the various aspects of Dispatcher
Date Tue, 04 Apr 2006 03:57:15 GMT
Gav.... wrote:
> 
> I have added back in the catalog.xcat file, containing :-
> 
> <!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog
> V1.0//EN"
> "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">
> 
> <!-- OASIS XML Catalog for Forrest Documents -->
> <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"
>          prefer="public">
> 
>   <public publicId="-//Apache Forrest//DTD Glossary V1.0//EN"
> 	uri="glossary-v10.dtd"/>
> </catalog>
> 
> And removed the .dtd and .mod files from /xdocs/
> 
> I am now getting different errors, 
> 
> Recursive entity reference "%glossary". (Reference path: %glossary ->
> %glossary -> %glossary),
> 
> >From a forrest run and similar in an Ant Test failure report.
> 
> The glossary-v10.dtd has :-
> 
> <!ENTITY % document PUBLIC
>     "-//APACHE//ENTITIES Documentation V1.2//EN"
>     "document-v12.mod">
> %document;
> 
> <!-- =============================================================== -->
> <!-- Include the Common ISO Character Entity Sets -->
> <!-- =============================================================== -->
> 
> <!ENTITY % common-charents PUBLIC
>     "-//APACHE//ENTITIES Common Character Entity Sets V1.0//EN"
>     "common-charents-v10.mod">
> %common-charents;
> 
> <!-- =============================================================== -->
> <!-- Document Type Definition -->
> <!-- =============================================================== -->
> 
> <!ENTITY % glossary PUBLIC
>     "-//Apache Forrest//DTD Glossary V1.0//EN"
>     "glossary-v10.mod">
> %glossary;

That last part is not correct. It should be
<!ENTITY % glossary PUBLIC
     "-//Apache Forrest//ENTITIES Glossary V1.0//EN"
FIXME:...................^^^^^^^^
     "glossary-v10.mod">
 %glossary;

Then your catalog.xcat needs to declare that as well.
At the moment you are creating a circular reference
to the glossary-v10.dtd

-David

Mime
View raw message