[XML-SIG] DTDHandler and EntityResolver

Lars Marius Garshol larsga@garshol.priv.no
22 Sep 2000 16:47:10 +0200


[context note: we are talking about adding functionality to expat;
whether the SAX 2.0 definition should have these two interfaces is not
discussed in this subthread]

* Lars Marius Garshol
|
| It has the necessary callbacks to do so, and support for DTDHandler
| is required for full conformance with the XML 1.0 recommendation
| (that is why the handler is there, actually).

* Fred L. Drake, Jr.
| 
| This is important.
| Do you have patches ready?  We're running low on time.  ;(

I do not have the patches now, but I will have them Sunday morning and
post them in the PatchManager then.
 
* Lars Marius Garshol
|
| DTDHandler is dead simple, EntityResolver more complex.
 
* Fred L. Drake, Jr.
|
| Are both required for conformance, or just DTDHandler? 

Only DTDHandler.

| My guess would be that EntityResolver is optional here since there's
| no requirement from the recommendation that external entities are
| processed [...]

This is correct.

--Lars M. (in a rush)