W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > October to December 2009

[Bug 8444] Limited Extensibility

From: <bugzilla@wiggum.w3.org>
Date: Mon, 07 Dec 2009 11:30:59 +0000
To: www-xml-schema-comments@w3.org
Message-Id: <E1NHbnv-0004tU-6W@wiggum.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=8444


Michael Kay <mike@saxonica.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mike@saxonica.com




--- Comment #1 from Michael Kay <mike@saxonica.com>  2009-12-07 11:30:58 ---
Firstly, I assume that in the "1st Generation" schema, the xsd:any has
maxOccurs="unbounded" (that is, it allows multiple elements in this position).
If it only allows one element, then your "3rd Generation" would definitely be
invalid.

If your "2nd Generation" schema wants to allow further extensibility, then it
can be written as:

2nd Generation
--------------
xa
  xab
  xad
  xae (new optional node)
  xsd:any

which seems to be exactly what you are asking for. I'm not sure why you think
this isn't allowed. The relaxation of UPA in XSD 1.1 (which allows wildcard
particles to overlap element particles) was introduced for this reason.

Is there something here I have missed?  


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Monday, 7 December 2009 11:31:00 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 11:31:04 GMT