[Zope-dev] Patch: Enable Unicode in ParsedXML
Patrick DECAT
pdecat at gmail.com
Thu Mar 24 06:27:57 EST 2005
Hi,
this is my first post to this list so I'm not sure this is proper way
to submit a patch. If it is not, please direct me to the correct
place.
This patch enables Unicode characters in qualified names for XML
documents stored with the ParsedXML product.
Best regards,
Patrick.
pdecat at localhost /cygdrive/c/Program
Files/Zope-2.7.2-0/Zope-Instance/Products/ParsedXML/DOM
$ diff -c Core.py.orig Core.py
*** Core.py.orig Tue Apr 27 16:06:20 2004
--- Core.py Thu Mar 24 12:14:26 2005
***************
*** 70,76 ****
return None
return 1 # Indicates "passed".
else:
! _ok_qualified_name = sre.compile('[a-zA-Z_:][\w\.\-_:]*\Z').match
del sre
_TupleType = type(())
--- 70,76 ----
return None
return 1 # Indicates "passed".
else:
! _ok_qualified_name =
sre.compile('[a-zA-Z_:][\w\.\-_:]*\Z',sre.UNICODE).match
del sre
_TupleType = type(())
More information about the Zope-Dev
mailing list