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 15:33:12 +0000
To: www-xml-schema-comments@w3.org
Message-Id: <E1NHfaK-0007Y6-Ba@wiggum.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=8444





--- Comment #4 from Andrew <shropshire@att.com>  2009-12-07 15:33:11 ---
(In reply to comment #3)
> >In the example given, the content models desired for the second and third generation apps (the ones shown, plus an additional repeating wildcard) seem at first glance to accept the same language as the content model given for the first-generation app.
> But the element particles for xae and xaf can specify a type that is more
> restrictive than the type allowed by the wildcard.



1st, 2nd, and 3rd generation apps will all accept docs generated by 1st
generation apps.  However, a 2nd generation app will not accept this doc from a
3rd generation app:

xa
  xab
  xad
  xae 
  xaf 

because a 2nd generation app does not accept anything after xae.  Apparently,
XSD 1.1 allows xsd:any to be used after an optional element, so this problem of
not being able to add on optional elements without breaking earlier versions of
the schema can be resolved.  I have marked the bug report resolved.  


-- 
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 15:33:21 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 15:33:22 GMT