You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Gernot Koller <gr...@gmx.at> on 2003/01/22 10:39:59 UTC

Validation errors while compiling CVS Head

Hi!

I get same errors while buildtime validation for both config and xdocs.
eg:

validate-config:

validate-xdocs:
     [echo] Conducting validation of core XML documentation.
     [echo] (You can turn validation off if you must, using ./properties.xml)
     [echo] Validating all **/book.xml instances using RELAX NG ...

BUILD FAILED
file:C:/ent/cvs/xml-cocoon2/build.xml:2466: There must be a file attribute or a
fileset child element

Total time: 4 minutes 5 seconds

Turning off validation in properties.xml:

     <!-- build-time validation of important core configuration files -->
     <validate
      config="false"
      xdocs="false" />

solves the problem...

Gernot



---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Re: Validation errors while compiling CVS Head

Posted by Jeff Turner <je...@apache.org>.
On Wed, Jan 22, 2003 at 10:39:59AM +0100, Gernot Koller wrote:
> Hi!
> 
> I get same errors while buildtime validation for both config and xdocs.
> eg:
> 
> validate-config:
> 
> validate-xdocs:
>      [echo] Conducting validation of core XML documentation.
>      [echo] (You can turn validation off if you must, using ./properties.xml)
>      [echo] Validating all **/book.xml instances using RELAX NG ...
> 
> BUILD FAILED
> file:C:/ent/cvs/xml-cocoon2/build.xml:2466: There must be a file attribute or a
> fileset child element

In my build.xml, that refers to:

<jing rngfile="${webapp.dir}/WEB-INF/entities/book-v01.rng">
  <fileset dir="${build.context}" includes="**/book.xml"/>
</jing>  

If you look in ./build/cocoon/documentation, is there stuff there?


--Jeff

> Total time: 4 minutes 5 seconds
> 
> Turning off validation in properties.xml:
> 
>      <!-- build-time validation of important core configuration files -->
>      <validate
>       config="false"
>       xdocs="false" />
> 
> solves the problem...
> 
> Gernot
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org