On Wed, 2008-09-24 at 05:19 -0700, Irrra wrote: > Nope, it's JDK 5 the environment variable is referring to...
Ok, since there is an open issue with the validation and JDK 6. > But I might have > both 5 and 6 installed on my machine. May it be the problem? No it is something different. I suspect there sneaked an illegal between body and p. Try the following (one line no spaces between the tags): ... <body><p>...</p><body> What does gives that? salu2 > > > > Thorsten Scherler-3 wrote: > > > > 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 > > > > > > > -- Thorsten Scherler thorsten.at.apache.org Open Source Java consulting, training and solutions
