[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Exploiting RELAX NG for CIQ.
Ram, We should also look at a RELAX NG implementation, as I think this is what is needed to simplify the overal structure of CIQ TC so people see just the small piece they need. Also - as a fellow OASIS TC this is good to code-share. Thanks, DW. -------------Forwarded Message----------------- From: Murata Makoto, INTERNET:mura034@attglobal.net To: TREX Discussion List, INTERNET:trex@lists.oasis-open.org Date: 5/19/2001 11:32 AM RE: Re: combine Norman Walsh wrote: > / James Clark <jjc@jclark.com> was heard to say: > | Right. We could have a restriction on combine="group" that you can't use it > | in a way which makes order significant (eg combining two <element> > | patterns). On the other hand that would rule out using combine="group" to > | provide functionality similar to derivation of complex types by extension in > | XML Schema (adding things on to the end of a content model). > > Making order insignificant would be nice, but I think it would be a > mistake to lose the ability to mutate content models this way. We do not need "combine" for mimicking "derivation by extension". Here is a rewrite of an example of "derivation by extension" in XML Schema Part 0. <grammar> <start> <element name="dmy"> <element name="uk"> <ref name="UKAddress"/> </element> <element name="us"> <ref name="USAddress"/> </element> </element> </start> <define name="Address"> <element name="name"><anyString/></element> <element name="street"><anyString/></element> <element name="city"><anyString/></element> </define> <define name="USAddress"> <ref name="Address"/> <element name="state"><anyString/></element> <element name="zip"><anyString/></element> </define> <define name="UKAddress"> <ref name="Address"/> <element name="postcode"><anyString/></element> <attribute name="exportCode"><anyString/></attribute> </define> </grammar> Cheers, Makoto ----------------------- Internet Header -------------------------------- Sender: trex-errors@lists.oasis-open.org Received: from one.elistx.com (one.elistx.com [209.116.252.130]) by spdmgaaa.compuserve.com (8.9.3/8.9.3/SUN-1.9) with ESMTP id LAA26123 for <Gnosis_@compuserve.com>; Sat, 19 May 2001 11:32:27 -0400 (EDT) Received: from CONVERSION-DAEMON.eListX.com by eListX.com (PMDF V6.0-24 #44856) id <0GDL004019WCXV@eListX.com> for Gnosis_@compuserve.com; Sat, 19 May 2001 11:33:48 -0400 (EDT) Received: from ELIST-DAEMON.eListX.com by eListX.com (PMDF V6.0-24 #44856) id <0GDL004049WCXS@eListX.com> (original mail from mura034@attglobal.net) ; Sat, 19 May 2001 11:33:48 -0400 (EDT) Received: from CONVERSION-DAEMON.eListX.com by eListX.com (PMDF V6.0-24 #44856) id <0GDL004019WBXQ@eListX.com> for trex@elist.lists.oasis-open.org (ORCPT trex@lists.oasis-open.org); Sat, 19 May 2001 11:33:47 -0400 (EDT) Received: from DIRECTORY-DAEMON.eListX.com by eListX.com (PMDF V6.0-24 #44856) id <0GDL004019WBXP@eListX.com> for trex@elist.lists.oasis-open.org (ORCPT trex@lists.oasis-open.org); Sat, 19 May 2001 11:33:47 -0400 (EDT) Received: from prserv.net (out2.prserv.net [32.97.166.32]) by eListX.com (PMDF V6.0-24 #44856) with ESMTP id <0GDL002FI9WAXV@eListX.com> for trex@lists.oasis-open.org; Sat, 19 May 2001 11:33:46 -0400 (EDT) Received: from makoto.attglobal.net (slip-210-88-161-167.kw.jp.prserv.net[210.88.161.167]) by prserv.net (out2) with SMTP id <2001051915322020205hcmk9e>; Sat, 19 May 2001 15:32:20 +0000 Date: Sun, 20 May 2001 00:31:45 +0900 From: Murata Makoto <mura034@attglobal.net> Subject: Re: combine In-reply-to: <8766eyyksb.fsf@nwalsh.com> To: TREX Discussion List <trex@lists.oasis-open.org> Message-id: <200105191531.AA05127@makoto.attglobal.net> MIME-version: 1.0 X-Mailer: AL-Mail32 Version 1.10 Content-type: text/plain; charset=us-ascii References: <8766eyyksb.fsf@nwalsh.com> List-Owner: <mailto:trex-help@lists.oasis-open.org> List-Post: <mailto:trex@lists.oasis-open.org> List-Subscribe: <mailto:trex-request@lists.oasis-open.org?body=subscribe> List-Unsubscribe: <mailto:trex-request@lists.oasis-open.org?body=unsubscribe> List-Archive: <http://lists.oasis-open.org/archives/trex> List-Help: <http://lists.oasis-open.org/elists/admin_email.shtml>, <mailto:trex-request@lists.oasis-open.org?body=help>
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC