Dear Xerces dev list,
   I would like to point one instance of code change, during implementation
of XML Schema 1.1 within Xerces is following:

I have refactored the file XMLSchemaValidator.java heavily in the branch
xml-schema-1.1-dev, than what is there on the trunk (which was a very old
design. It originitated from the days of Sun Microsystem's codebases of XML
Schema 1.0). On the branch xml-schema-1.1-dev (XML Schema 1.1), the file
XMLSchemaValidator.java looks like following,

public class XMLSchemaValidator extends XSValidatorHelper implements
XMLComponent, XMLDocumentFilter, RevalidationHandler { ......

But on the trunk (XML Schema 1.0), the same file looks like following,

public class XMLSchemaValidator
    implements XMLComponent, XMLDocumentFilter, FieldActivator,
RevalidationHandler, XSElementDeclHelper {

Can you notice the difference? In the XML Schema 1.1 branch, I'm extending
from a new class XSValidatorHelper. This was done to, reduce the amount of
code in the file XMLSchemaValidator.java (which is 4615 LOC on the trunk at
present, and 3193 LOC on the XML Schema 1.1 branch at present). There is a
substantial improvement in the LOC reduction of this file, and also some
improvement in the internal design of this file.

The file XMLSchemaValidator.java has been a work-horse of XML Schema
implementation within XercesJ2. My question is, is this design change an
irritation to any of the committer on this list, that is not allowing a new
release of XML Schema 1.1 just now? A difficult question I guess.



Regards,
Mukul Gandhi

Reply via email to