Andy Clark wrote:
> [1] DTD Handler Interfaces
> I'm now leaning towards Glenn's earlier suggestion that we
> can provide DTD information needed to DTD editor writers
> (arguably a very small percentage of the parser user base)
> via the SAX xml-string property. I'm not suggesting that
> we *will* implement this before rolling out Xerces2, merely
> that we *can* support communicating more information in
> the future through this (or a similar) mechanism.
Hmmm.. We do plan to implement DOM L3 specs and although we did not
discuss implementing Abstract Schema [AS] module (that allows editing
and querying grammars), the APIs are there. Do we want to provide
another way to access grammar??
I am not sure how DTDContentModelHandler is useful for editor writers.
In the world of XML Schemas, you better also provide support for editing
XML Schemas as well as DTDs, and DTDContentModelHandler provides way to
little information..
My point is, I believe if we ever want to provide in Xerces APIs for
editing/querying AS (DTD, XML Schemas, other grammars), we better do it
by implementing standard DOM APIs.
> [2] Pass Base URI to startEntity Callback
>
> In the continuing effort to pass as much information via
> XNI as possible, I would suggest passing the base systemId
> when calling the startEntity method in all of the handlers
> that define this method.
> public void startEntity(String name,
> String publicId, String systemId,
> String baseSystemId, // +
> String detectedEncoding)
> throws XNIException;
Can baseSystemId be null?
> [4] Remove Dependence on SAX
If we are removing dependence on SAX, should we consider using DOM L3
APIs for error handling, entity resolver, input source?
Andy, you've mentioned that SAX raises a lot of problems, could you
expand on that? ..I am not sure why do we need to define again the same
interfaces that exist in both DOM and SAX??
Thx,
Elena
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]