[XML-SIG] endElement handler for XMLValParser?

Jed Parsons jedp@ilm.com
Wed, 7 May 2003 15:34:31 -0700 (PDT)


Hola -

I'm writing my first handler using the validating parser from
xml.sax.sax2exts.XMLValParserFactory.make_parser().  I can't figure
out how to handle end tags for elements.

I've set up a content handler that extends
xml.sax.handler.ContentHandler.

I use the parser's setContentHandler method and parse.

My startElement, characters, and ignorableWhitespace methods all get
called, but my endElement is sadly neglected.

A peek at _xmlplus/sax/drivers/drv_xmlproc_val.py finds no end element 
handlers for this parser.

(CVS info: drv_xmlproc_val.py,v 1.9 2001/12/30 12:13:45 loewis)

What to do?

Thanks for any help,

Jed

-- 
Jed Parsons       Industrial Light + Magic  (415) 448-2974 
	     
grep(do{for(ord){(!$_&&print"$s\n")||(($O+=(($_-1)%6+1)and
grep(vec($s,$O++,1)=1,1..int(($_-6*6-1)/6))))}},(split(//,
"++,++2-27,280,481=1-7.1++2,800+++2,8310/1+4131+1++2,80\0.  What!?")));