Hi Devs,
I've been reading a lot on XML schema type alternatives and experimenting
with Xerces2 source code for the past couple of weeks. Kudos to Khaled for
all the support he has given me so far.
Here is a list of ToDos I prepared as a result of my research. It summarizes
the things that I think need to be done in order to implement type
alternatives in Xerces2. Please take a look at the list and send me your
feedback. Your opinions will be most appreciated and will be immensely
helpful in finalizing the design.
* org.apache.xerces.xs.XSTypeAlternative interface extending XSObject
interface
* org.apache.xerces.impl.xs.cta.XSTypeAlternative class implementing
XSTypeAlternative interface
* Modifications to org.apache.xerces.impl.xs.XSElementDecl class
- array of XSTypeAlternative objects
- relevant get/set methods
- methods to add/remove type alternatives from the element decl
* org.apache.xerces.impl.xs.traversers.XSDTypeAlternativeTraverser class
* Bare minimal XPath 2 implementation
* org.apache.xerces.impl.xs.cta.Test class (similar to xs.identity.Selector
class)
* Changes to org.apache.xerces.impl.xs.XMLSchemaValidator class
* Changes to org.apache.xerces.impl.xs.XSDHandler class
Thanks
Best Regards,
Hiranya