forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Dixon <...@dixons.org>
Subject Re: xinclude
Date Wed, 06 Sep 2006 15:00:13 GMT
On Wed, 6 Sep 2006, Jim Dixon wrote:

> Yes. If I set
>   forrest.validate.xdocs=false
> in forrest.properties, then the 'forrest site' works.
>
> That is, this is indeed a simple workaround, for which I thank you.
>
> However, bear in mind that 'forrest run' did not fail.  Also, 'forrest
> validate-xdocs' returns
>   BUILD SUCCESSFUL
> implying that there is an inconsistency in the way in which validation
> is applied.  For exactly the same configuration
>
>   forrest run            succeeds
>   forrest validate-xdocs succeeds
>   forrest site           fails
>
> Looks like a bug to me.

Correction: 'forrest validate-xdocs' fails only if forrest.validate.xdocs
is set to false.  If it is set to true, or just commented out, validation
fails.

This remains uncomfortable, however.  There appears to be no way to use
XInclude without introducing a new DTD.

--
Jim Dixon  jdd@dixons.org   tel +44 117 982 0786  mobile +44 797 373 7881

Mime
View raw message