ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: xml Schema + ant+xerces-j2 =>validate => error?
Date Thu, 12 Feb 2004 08:18:22 GMT
On Wed, 11 Feb 2004, Dominique Devienne <DDevienne@lgc.com> wrote:
>> From: Antoine Lévy-Lambert [mailto:antoine@antbuild.com] I wonder
>> whether the xmlvalidate task supports *at all* xml schemas.
> 
> It's supposed to, or at least that's what I remember reading from
> Stefan,

Who only said that it was supposed to - and has never checked it.
There is a unit test in Ant that actually checks for this.  It uses

        <attribute name="http://xml.org/sax/features/validation"
                   value="true"/>
        <attribute name="http://apache.org/xml/features/validation/schema"
                   value="true"/>

within the task to enable XSD validation.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message