[XML-SIG] Documentation and problems

Frank McGeough fm@synchrologic.com
Tue, 29 Dec 1998 15:11:51 -0500


Simon,

In your doc at :
http://www.hobby.nl/~scaprea/XML/t173.html

I believe the

2. Call the parser factory with the name of a known driver module, e.g.,
SAXparser=xml.sax.saxexts.make_parser("xml.sax.drivers.drv_xmlproc")

is incorrect.  The saxexts.py has the following code in it:
parser_name = 'xml.sax.drivers.drv_' + parser_name

therefore you should create the parser with :

SAXparser=xml.sax.saxexts.make_parser("xmlproc")

This may have been a recent change. I just started in with
Python XML stuff. I have downloaded the xml-0_5.zip
version.

Thanks for putting that doc on-line. I found it very helpful.

-----Original Message-----
From: Simon Pepping <simon@scaprea.hobby.nl>
To: Python XML-SIG <xml-sig@python.org>
Date: Tuesday, December 29, 1998 2:56 PM
Subject: [XML-SIG] Documentation and problems


>Hi,
>
>I have spent quite some time with the XML package, mainly with the SAX
>interface and xmlproc. As a result I have written a(nother) document
>about the interaction of an application and a SAX parser, and how to
>write a SAX application. I also wrote a simple application to
>demonstrate it.
>
>Check it out at http://www.hobby.nl/~scaprea/XML/index.html.
>