forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Turner <je...@apache.org>
Subject Re: XML links (Re: cvs commit: xml-forrest/src/resources/forrest-shbat forrest.build.xml)
Date Mon, 15 Sep 2003 10:54:26 GMT
On Mon, Sep 15, 2003 at 12:43:09PM +0200, Juan Jose Pablos wrote:
> Jeff,
> 
> >> +    <condition property="forrest.validate.skinconf.disable-xml-link">
> >> +      <and>
> >> +        <istrue value="${skinconfig.disable-xml-link}"/>
> >> +      </and>
> >> +    </condition>
> >> +    <fail if="forrest.validate.skinconf.disable-xml-link">
> >> +---------------------------------------     
> >> +${skinconfig.project-name} have disable-xml-link
> >> +please change it on ${project.skinconf} 
> >> +to validate this site.
> >> +---------------------------------------     
> >> +    </fail>
> >
> >
> >
> >It looks like you have the logic backwards here.  This fails is
> >disable-xml-link is true, which is the default.
> 
> That is right. As default no-one produce xml output, but we need to 
> produce xml files in order to validate them.
> 
> >
> >I have never understood why the value of disable-xml-links affects
> >pre-render validation.  Could you explain it to me again?  Thanks..
> 
> Because it is not pre-render validation, It validates our intermediate 
> format (doc-v12).
> 
> This is to ensure that you *2document.xsl works properly.

Oh I see.  Validation of the generated XML.  Cool.  Maybe one day we can
expand it to do HTML 4.0.1 validation, as that keeps breaking.


--Jeff

> Cheers,
> Cheche
> 

Mime
View raw message