ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
Subject Re: xmlvalidate with remote schemas
Date Tue, 26 Sep 2006 13:18:14 GMT
Adrian Herscu wrote:
> 
> Prashant wrote:
>> <snip>
>>> And it takes it a very long time to complete (almost ten minutes for
>>> 70-80 XML files).
>> </snip>
>>
>> Could't you use <xmlcatlog> to locate the XSD schemas locally instead of
>> http download, which perhaps is taking time.
> 
> Does it work for XML schemas? From the documentation, and I think that I
> have tried it once myself, <xmlcatalog> works only for DTDs.
> 

Ant 1.7's <schemavalidate> extension to <xmlvalidate> sets things up 
right for all nested <schema> elements.

If you cannot use the beta, look at the source, see how we set up the 
property
http://apache.org/xml/properties/schema/external-schemaLocation


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


Mime
View raw message