- From: Eddie Robertsson <erobertsson@allette.com.au>
- Date: Tue, 05 Nov 2002 09:40:14 +1100
- To: "Henry S. Thompson" <ht@cogsci.ed.ac.uk>
- CC: Francis Brouns <francis.brouns@ou.nl>, xmlschema-dev@w3.org
Hi, >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:choice> > <xs:groupref="testGroup"/> > <xs:element name="b"/> > </xs:choice> > </xs:group> > </xs:redefine> > >*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. > True, BUT this also means that all elements included in the choice must be declared as global elements. This may not be a desirable side effect in the design of the schema. Cheers, /Eddie > >ht > >
Received on Monday, 4 November 2002 17:41:21 UTC