W3C home > Mailing lists > Public > xmlschema-dev@w3.org > September 2003

Handling of substitution groups

From: Jochen Wiedmann <jochen@apache.org>
Date: Fri, 26 Sep 2003 01:33:43 +0200
Message-ID: <3F737B57.6090909@apache.org>
To: xmlschema-dev@w3.org


trying to understand how to handle substitution groups, I wonder whether 
the following
algorithm is semantically correct:

- Suggest I have a global element which is referenced by other global 
elements as the target
  of a substitution group. (I understand that all these elements *must* 
be global, right?)

- Suggest that I build an implicit group. This group consists of the 
possible substitution elements.
  If the head element is *not* abstract, then I will also add the head 

- Any reference to the head element is silently replaced by a reference 
to the implicit group.

Regards for any help,

Received on Thursday, 25 September 2003 19:39:16 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:03 UTC