forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <thorsten.scherler....@juntadeandalucia.es>
Subject Re: Problems with build
Date Wed, 24 Sep 2008 07:40:16 GMT
On Tue, 2008-09-23 at 19:51 -0700, Irrra wrote:
> Hi, 
> 
> I'm pretty sure I'm missing something simple. Below is the code from my xml
> file. It shows up properly when using 'forrest run'. When I'm trying to run
> 'forrest' however, I'm getting an error and I don't know what should I do to
> fix it. The erorr is: 
> 
> validate-xdocs:
> C\Dosuments and Settings\...\index.xml: The content of element type "body" 
> must match
> "(section|p|source|note|warning|fixme|table|ol|ul|figure|anchor)+"
> 
> BUILD FAILED
> ...index.xml fis not a valid xml document.
> 
> 
> Any insight will be very appreciated!

Are you using jdk6?

salu2

> 
> The code:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> 
> <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN"
> "http://forrest.apache.org/dtd/document-v20.dtd">
> <document>
>   <header>
>     <title>Contact ViroGen</title>
>   </header>
>   <body>
>     <p class="center"> ../resources/images/about.jpg  </p>
>   </body>
> </document>
-- 
Thorsten Scherler                                 thorsten.at.apache.org
Open Source Java                      consulting, training and solutions


Mime
View raw message