[dsdl-comment] Re: Schemas for the combination of atom and its extensions

From: Jirka Kosek <jirka@kosek.cz>
Date: Mon Sep 10 2007 - 20:36:37 UTC

MURATA Makoto wrote:

> Which do you think is easier to understand?

I think that NVDL version is easier to understand because it is
sufficient to know vocabularies itself there is no need to know anything
about RELAX NG and internal structure of individual schemas.

Moreover for more complex combinations it is real pain to do it in RELAX
NG only as name classes are not patterns and you have to explicitly
exclude all used namespaces from definition of extension elements like:

simpleExtensionElement =
        element * - (atom:* | thr:* | open:* | fh:*) { text }

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
------------------------------------------------------------------

--
DSDL comments
To unsubscribe, please send a message with the
command  "unsubscribe" to dsdl-comment-request@dsdl.org
(mailto:dsdl-comment-request@dsdl.org?Subject=unsubscribe)
Received on Mon Sep 10 22:36:03 2007

This archive was generated by hypermail 2.1.8 : Mon Sep 10 2007 - 21:43:03 UTC