[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] If I want to use catalogs for XSDs, must document instancescontain a schemaLocation?
- From: Jirka Kosek <jirka@kosek.cz>
- To: liam@w3.org
- Date: Mon, 23 Apr 2012 12:31:58 +0200
On 20.4.2012 8:00, Liam R E Quin wrote:
> The answer is that you have to tell your schema processor how to find he
> schemas, and that schemaLocation attributes are one way, but not the
> only way - the program might have another way to do it - but doing it
> based on namespace URIs would not be a good way.
Might be I'm not understanding you correctly Liam, but IMHO namespace
URI is perfect way to *indirectly* say where the schema is located.
Good XML application support mapping file where namespace URI can be
mapped to schema which should be used for validation. Graham should
inspect his tool whether it provides such facility. In oXygen there is
Document Type Association option for this, Emacs+nxml support
locatingRules, NVDL can be used for this as well.
In theory on namespace URI could reside RDDL document which can point to
XML schema, but past experience with heavy loaded network resources
(XHTML DTDs) shows that's not wise to depend on such approach in an
application.
Jirka
--
------------------------------------------------------------------
Jirka Kosek e-mail: jirka@kosek.cz http://xmlguru.cz
------------------------------------------------------------------
Professional XML consulting and training services
DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
------------------------------------------------------------------
OpenPGP digital signature
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]