[Bug 4767] New feature: xs:override

http://www.w3.org/Bugs/Public/show_bug.cgi?id=4767


esirois@ca.ibm.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |esirois@ca.ibm.com




------- Comment #2 from esirois@ca.ibm.com  2008-05-15 02:00 -------
I'm hoping the WG can take some time during their upcoming meetings to revisit
this particular proposal. 

This particular proposal would be very useful as another tool for DITA or
Docbook developers to evolve their schemas using XML Schemas.  For DITA,
developers using DTD and XSLT currently have the tools necessary to override
base definitions to support new topic type.   In fact, XSLT specializations
rely heavily on the fact that you can override the base template in order to
support your own custom processing.

On the XML Schema side of the house, the only mechanism that is currently
available is the xs:redefine.  Which I must admit is pretty restrictive, but so
far we haven't had the need for much else.  Eliot Kimber, has run into some
issues where xs:redefine is no longer sufficient [1].

I'm currently in the process of updating the XML Schemas for DITA 1.2.  I am
running into some issues with xs:redefine trying to implement DITA feature
12008 Constraints - restriction without specialization [2] and feature 12011 -
more general task type [3].  With the help of one of our WG representatives, I
have been able to implement {3) with some crafty use of model groups.  Which is
fine for this particular case, but for (2) we are trying to use xs:redefine for
a something in which it was not originally designed to do.

I would like to thank the WG for taking the time to look at this request.  

Kind regards,
Eric 


[1] - http://lists.w3.org/Archives/Public/xmlschema-dev/2007Jun/0035.html
[2] -
http://www.oasis-open.org/committees/download.php/25090/IssueConstraints12008.html 
[3] -
http://www.oasis-open.org/committees/download.php/26791/IssueNumber12011v1.2rev3.html 

Received on Thursday, 15 May 2008 02:01:35 UTC