forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicola Ken Barozzi <nicola...@apache.org>
Subject Re: tabs.xml: How to implement a second row of tabs
Date Thu, 12 Aug 2004 06:38:19 GMT
Jean T. Anderson wrote:
> Greetings,
> 
> I would like to produce a second row of tabs as is documented in 
> http://forrest.apache.org/docs/your-project.html#tabs.xml :
> 
> <tab label="Apache XML Projects" href="http://xml.apache.org">
>    <tab label="Forrest" href="http://forrest.apache.org/"/>
>    <tab label="Xerces" href="http://xml.apache.org/xerces"/>
>  </tab>
> 
> I cut and pasted that exact text into my tabs.xml file. But 'forrest 
> site' throws the following error:
> 
>    validate-xdocs:
>    
> /home/jta/forrest/mysite/src/documentation/content/xdocs/tabs.xml:23:9: 
> The content of element type "tab" must match "EMPTY".
> 
> This is line 23:
> 
>     </tab>

The error means that while validatinng the tabs file, Forrest found out 
that it did not conform to the DTD.

Since IIUC you are following the example, it must be that the DTD 
specified is not correct.

Look in the source of the forrest docs for a real life example.

-- 
Nicola Ken Barozzi                   nicolaken@apache.org
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)
---------------------------------------------------------------------


Mime
View raw message