Sebastian Rahtz wrote:
> Jirka Kosek wrote:
>> Since 2005 there is NVDL which can associate schema with namespace
>> indirectly. But this doesn't solve issue of having several different
>> vocabularies (read schemas) in the same namespaces -- for example full
>> TEI vs. TEI Lite, full DocBook vs. Simplified DocBook, XHTML 1.0 vs.
>> XHTML 1.1 vs. XHTML Print.
>>   
> you could embed a stanza of NVDL inside the document?

But this would modify "information content" of document itself and it
will cause dozen of another problems. For example:

- you will have to ignore NVDL elements during XSLT processing
- how would you implement validation in a streaming mode if you must
lookahead NVDL snippet first
- ...

I think that for situations where schema can't be specified indirectly
using NVDL or similar technology using <?schema?> PI is the best
solution -- easy to use, easy to implement, no side-effect in existing
toolchains.

-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail: [EMAIL PROTECTED]      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
------------------------------------------------------------------
 Want to speak at XML Prague 2007 => http://xmlprague.cz/cfp.html

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to