Several weeks ago I mentioned Noah Mendelsohn's proposal for two incredibly useful changes to XSD:
- Make element decls take precedence over wildcards, thereby allowing certain types of non-determinism
- Define a way to declare implicit extensibility points at the end of a content model or in between particles in a content model
Both of these changes would be INCREDIBLY useful.
Noah made these suggestions in the context of XSD 1.1, but I'd prefer to see it go into XSD 1.0 2nd Edition (they did this for XML). To differentiate between XSD 1.0 and 1.0a, we'd introduce a new attribute on the xs:schema element, like this (maybe it shouldn't be “noah“, but I'd like to see him credited with fixing this ;-):
<xs:schema xsa:noah="true" xmlns:xsa="..." xmlns:xs="...">
Ugly? Sure, but a hell of a lot better than waiting for 1.1 and all the changes it might bring. And hey, we're talking about XSD, is pretty really the measure of success?
If we can't get RNG, we should make this change to cauterize the wound and move on.
Posted
Oct 20 2004, 04:22 PM
by
tim-ewald