[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#67484: python-xml: quotes demo crashes



Package: python-xml
Version: 0.5.1-5
Severity: wishlist

hello,

the quotes demo included as an example doesn't work unless i make the
following change:

--- qtfmt.py~   Tue Apr  4 01:49:40 2000
+++ qtfmt.py    Thu Jul 20 03:04:39 2000
@@ -369,7 +369,7 @@

         # Enforce the use of the Expat parser, because the code needs to be
         # sure that the output will be UTF-8 encoded.
-        p=saxexts.XMLParserFactory.make_parser("pyexpat")
+        p=saxexts.XMLParserFactory.make_parser()
         dh = QuotationDocHandler(process_func)
         p.setDocumentHandler(dh)
         p.setErrorHandler(dh)

  -- erno

-- System Information
Debian Release: 2.2
Kernel Version: Linux fun77 2.2.10 #1 Sun Jun 20 19:03:53 EEST 1999 i586 unknown

Versions of the packages python-xml depends on:
ii  libc6          2.1.3-10       GNU C Library: Shared libraries and Timezone
ii  libxmltok1     1.1-1          XML Parser Toolkit, runtime libraries
ii  python-base    1.5.2-10       An interactive object-oriented scripting lan



Reply to: