ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: xmlvalidate with xmlcatalog
Date Tue, 11 May 2010 15:26:25 GMT
On 2010-05-11, Susanne Wunsch <apache-ant@uriah.heep.sax.de> wrote:

> Thanks for the link. Now the resolver is loaded, but the catalog
> entities doesn't really fit.

> How to use catalog entity with XML Schema?

I must admit I've never tried that.  Looking at the documentation of
<schemavalidate>[1] - which really just is <xmlvalidate> with sensible
defaults for XSD validation - it says

,----
| Note that nested catalogs are still used for lookup of the URLs given
| as the sources of schema documents, so you can still delegate lookup
| to a catalog, you just need to list all schema URIs and their URL
| equivalents.
`----

> I tried 'namespace' and 'schemaLocation' as PublicId, but it didn't
> work.

Sounds as if the namespace's URI should be used as publicId.

Stefan

[1] http://ant.apache.org/manual/OptionalTasks/schemavalidate.html

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


Mime
View raw message