forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Williams" <william...@gmail.com>
Subject Re: Confused by Document v20
Date Mon, 06 Nov 2006 12:56:07 GMT
On 11/6/06, C. Grobmeier <grobmeier@possessed.de> wrote:
> One more question.
>
> In forrest.properties i set:
>
> forrest.validate=true
> forrest.validate.xdocs=${forrest.validate}
> forrest.validate.failonerror=true
>
> Then i edit on site and delete the <header>-Tags. In the docs:
> http://forrest.apache.org/dtdx/document-v20.dtdx.html#document
>
> i have understood, that <header> is required. I thought if i switched
> forrest.validate to true, Forrest is going to check if i have the
> required tags on the correct position. But this isn't the case. Am i
> missing something or don't i understand this feature correctly?

This is the case when you create a webapp and static content ("forrest
site").  I'm not sure why we didn't also make it the case for "forrest
run" as well.  If you really want to validate your docs, run "forrest
validate".

--tim

Mime
View raw message