W3C home > Mailing lists > Public > xmlschema-dev@w3.org > November 2002

Re: how to redefine a content model

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 01 Nov 2002 08:33:30 +0000
To: "Francis Brouns" <francis.brouns@ou.nl>
Cc: <xmlschema-dev@w3.org>
Message-ID: <f5br8e51yg5.fsf@erasmus.inf.ed.ac.uk>

Group redefinition isn't supported in XSV yet, sorry.

In any case, your attempt isn't valid, you need to redefine the group
_in terms of itself_, i.e.

 <xs:redefine schemaLocation="schema1.xsd">
  <xs:group name="testGroup">
    <xs:element name="b"/>

*But*, having said that, don't use redefine at all, use substitution
groups.  That's the easy way to allow _post-hoc_ additions to choices.

  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
          W3C Fellow 1999--2002, part-time member of W3C Team
     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
	    Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
		     URL: http://www.ltg.ed.ac.uk/~ht/
 [mail really from me _always_ has this .sig -- mail without it is forged spam]
Received on Friday, 1 November 2002 04:02:00 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:15:06 UTC