[Bug 8444] Limited Extensibility

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 UTC