[XML-SIG] 4DOM and DTD

uche.ogbuji@fourthought.com uche.ogbuji@fourthought.com
Thu, 21 Dec 2000 21:57:23 -0700


> On Thu, 21 Dec 2000, Alexandre Fayolle wrote:
> 
> > I'm a bit surprised, but Uche did not comment on this, so you must be
> > right. Just being curious, what does the xml.dom.ext.reader.Sax2 provide
> > then? I really thought that  specifying validate=1 in FromXml made it use
> > xmlproc. 
> 
> OK, I refered to the Source code, and see the problem. I'll sum it up, in
> case someone else is interested but is too lazy to check for
> him/herself. If I'm wrong, please correct me.
> 
> There are two packages providing Sax interface to parsers, xml.sax.drivers
> and xml.sax.drivers2. The first one uses Sax1 parsers, and is used by
> xml.dom.ext.reader.Sax2. I reckon the latter will be soon upgraded to use
> xml.sax.drivers2, but could not so far because of the lack of SAX2 parsers
> in xml-sig (?). However, everything should be ready in reader.Sax2 to use
> the Sax2 interfaces to the xml-sig parsers. 

Close.  I actually went most of the way on this, as you can see from the 
latest CVS snapshop.  I ran into a lot of problems which I mostly 
misinterpreted out of fatigue and sloth.

I plan to have another go, probably today, and I might even add LexicalHandler 
support to drv_pyexpat while I'm at it.


-- 
Uche Ogbuji                               Principal Consultant
uche.ogbuji@fourthought.com               +1 303 583 9900 x 101
Fourthought, Inc.                         http://Fourthought.com 
4735 East Walnut St, Ste. C, Boulder, CO 80301-2537, USA
Software-engineering, knowledge-management, XML, CORBA, Linux, Python