OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   [SAX2] DeclHandler vs. DTDHandler

[ Lists Home | Date Index | Thread Index ]
  • From: David Megginson <david@megginson.com>
  • To: xml-dev <xml-dev@xml.org>
  • Date: Fri, 25 Feb 2000 05:55:52 -0500 (EST)

Michael Fuller writes:

 [on DTDHandler and DeclHandler]

 > To my (naive) eye, they seem to be handling very similar sorts of
 > events; if so it's certainly untidy ;-) and somewhat confusing to
 > have such similar tasks split across two distinct classes.

There's a significant difference, though -- DTDHandler (yes, the name
is awkward) deals with things that the XML REC (rightly or wrongly)
*requires* all XML processors to report, while DeclHandler does not.
Parser writers must deal with DTDHandler, but there's no reason that
they should have to worry about the extra stuff in DeclHandler.


All the best,


David

-- 
David Megginson                 david@megginson.com
           http://www.megginson.com/

***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@xml.org&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/threads.html
***************************************************************************




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS