473,549 Members | 3,048 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

xmlproc maintainer?

Hello all,

We recently (about a week ago) sent a patch to the maintainer of
xmlproc, but we didn't receive a reply yet. A look at the site reveals
that the last update was somewhere in 2000.

Does anybody know who the current maintainer is (if that changed), or
what the status of xmlproc is? We kind of depend on it...

The patch fixes a buffering problem if the XML contains utf-8 codes,
which gets especially problematic if one such character pair starts as
the last byte in the buffer... Patch attached, in case someone can use it.
Regards,

Alban Hertroys,
MAG Productions.

--- ../xmlproc-backup/xmlutils.py 2005-03-11 11:04:44.000000 000 +0100
+++ xmlutils.py 2005-03-11 13:45:43.000000 000 +0100
@@ -264,8 +264,8 @@
decoder could have run out of data. The latter case is very
hard to determine in Python 2.0"""

- if str(exc) in ["UTF-8 decoding error: unexpected end of data",
- "UTF-16 decoding error: truncated data"]:
+ s = str(exc)
+ if s.find('unexpec ted end of data')!=-1 or s.find('truncat ed data')!=-1:
while 1:
self.encoded_da ta = new_data[-1]+self.encoded_d ata
new_data = new_data[:-1]
@@ -296,7 +296,7 @@
first_feed = 1
self.parseStart ()

- new_data = new_data + self.encoded_da ta
+ new_data = self.encoded_da ta + new_data
self.encoded_da ta = ""

if not decoded and not self.charset_co nverter:
@@ -720,6 +720,7 @@
# to the recoding.
try:
self.data = self.charset_co nverter(self.da ta)
+ self.datasize = len(self.data)
except UnicodeError, e:
self._handle_de coding_error(se lf.data, e)
self.input_enco ding = enc1

Jul 18 '05 #1
1 1819
Alban Hertroys wrote:
We recently (about a week ago) sent a patch to the maintainer of
xmlproc, but we didn't receive a reply yet. A look at the site reveals
that the last update was somewhere in 2000.

Does anybody know who the current maintainer is (if that changed), or
what the status of xmlproc is? We kind of depend on it...


xmlproc is maintained as part of PyXML now; please sent the patch to
the patches tracker at sf.net/projects/pyxml.

That said, PyXML did not have a release on its own for quite some time,
either; mainly due to lack of user interest.

Regards,
Martin
Jul 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1458
by: Ellinghaus, Lance | last post by:
Is there a way to make xmlproc not return all strings as unicode? I am passing in standard ASCII and it returns all data as unicode... Or is there an easy way to convert unicode to standard ASCII? lance Lance Ellinghaus EDS - TWAI Operations Phone: 214-922-5454
0
1137
by: Eugene Oden | last post by:
does anyone know who's the current maintainer for kinfxdb? from what i can tell the original author is no longer maintaining it. i've made several changes for our organization and would like to contribute those back to the community but i don't know where to send them. thanks, gene
0
1076
by: François Pinard | last post by:
Hello to everybody, and Emacs users in the Python community. The Pymacs project (described below) now has new maintainer: Syver Enstad <syver@inout.no>. I'm inviting Pymacs users to collaborate with Syver as nicely as they always did with me. Syver himself has always been known to me as a helpful, competent and enthusiastic Pymacs user. ...
2
2392
by: Cees Wesseling | last post by:
Hi, it seems that xmlproc, the default Validating parser, in my setup does not call back to setDocumentLocator. Is there anyway to get a locator in my handler? Below you find an example and its output. Regards, Cees # base imports
2
1673
by: Carsten Haese | last post by:
Hello everybody: I have discovered that the functionality for connecting Python to an Informix database is currently in a frustrating state of neglect. The link to Kinfxdb is dead, and informixdb doesn't build on Python 2. I couldn't find any usable workarounds to the build problem, so I worked out successfully how to build informixdb using...
0
1287
by: Carsten Haese | last post by:
Hi Everybody: Since the current maintainer of the informixdb module appears to have gone missing, I have decided to take over the project. The new home of the informixdb module is http://sourceforge.net/projects/informixdb . Version 1.4 features the following improvements: * Build uses distutils instead of deprecated Makefile.pre.in...
2
1095
by: Mark Harrison | last post by:
So, I've made a couple of small but useful additions to the xml-rpc package. Is there an assigned maintainer of the package I should communicate with? I've got the server side running under apache/mod_python, which is a bit more industrial strength than the simple xmlrpc server, and a patch for 64 bit int values. I'd like to get these...
2
1966
by: mmm | last post by:
I found Python code to validate a XML document basd on DTD file layout. The code uses the 'xmlproc' package and these module loading steps from xml.parsers.xmlproc import xmlproc from xml.parsers.xmlproc import xmlval from xml.parsers.xmlproc import xmldtd Unfortunately, the xml package no longer seems to hold the xmlproc module. As a...
2
1232
by: dhtml | last post by:
Bart - Are you an FAQ Maintainer? I've tried mailing you but it bounced. If you're an FAQ maintainer, please send me a mail so we can work together. Garrett
0
7520
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7446
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7956
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7470
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7809
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6041
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5368
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3480
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
763
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.