On 2010-05-11, Susanne Wunsch <apache-...@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-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to