No. The xsi:schemaLocation attribute is
just a hint to the parser about where to find the schema. If you attach an
EntityResolver to the parser (in its constructor, or by some method like
setEntityResolver) you have complete control of how any URIs are looked
up. You can resolve particular namespaces to your fixed copy of the
schemas in question (and can make local copies of common ones found on the
Internet to avoid redundant network activity).
Jeff
|
- Can I stop SAX validation from resolving non-approve... Andy Taylor
- RE: Can I stop SAX validation from resolving no... Rahul Srivastava
- Re: Can I stop SAX validation from resolving no... Elliotte Rusty Harold
- Re: Can I stop SAX validation from resolving no... Andy Taylor
- Re: Can I stop SAX validation from resolvin... Joseph Kesselman
- Re: Can I stop SAX validation from resolving no... Andy Taylor
- Re: Can I stop SAX validation from resolvin... Jeff Greif
- Re: Can I stop SAX validation from resolving no... Andy Taylor
- Re: Can I stop SAX validation from resolvin... Simon Kitching
- Re: Can I stop SAX validation from reso... Joseph Kesselman
- Re: Can I stop SAX validation from resolving no... Sandy Gao
- Re: Can I stop SAX validation from resolvin... Joseph Kesselman