It would be nice to be able to access objects declared in DTDs without
having to use a SAX declaration handler.

On Thu, 2003-01-16 at 11:09, Elena Litani wrote:
> Hi all, 
> 
> I've noticed that DOM parser creates default DTD attribute declarations
> (and element declaration for which this attribute is defined) and
> appending those as children of the DocumentType node.
> 
> In Xerces 1 we used to support "domx/grammar" feature, which would allow
> someone to access a DTD, where declarations (element, attribute,
> notations etc.) were appended as children of the DocumentType node. We
> no longer support this feature, so I would like to remove this code.
> 
> Andy, since you are the one who committed the code, are you aware of any
> reason why this code should stay?
> 
> See the commit:
> 
>http://cvs.apache.org/viewcvs.cgi/xml-xerces/java/src/org/apache/xerces/parsers/AbstractDOMParser.java.diff?r1=1.10&r2=1.11&diff_format=h
> 
> Thanks,
-- 
Slava Pestov <[EMAIL PROTECTED]>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to