Hi, Just to let everyone know, I've unfuggered the 1.1.0 distributions on Zope.org and Squishdot.org. The ones up there now shouldn't suffer from the errors some people have been experiencing... I am planning a 1.2.0 release once I figure out how to make sgmllib.py not to stupid things with XHTML. Anyone who's interested in this, please give me a shout :-) (Does Zope 2.3.2+ ship with a fast XML parser? If so, what's it called and where do I import it from?) Hi ho, hi ho, it's off to the CMF I go :-) cheers, Chris
Doesn't Zope come with Expat and also a Python interface to it? <zopedir>/lib/python/Shared/DC/xml/pyexpat hth Phil ----- Original Message ----- From: "Chris Withers" <chrisw@nipltd.com> To: <squishdot@yahoogroups.com>; <zope@zope.org> Sent: Monday, May 14, 2001 4:36 PM Subject: [Zope] Squishdot News
Hi,
Just to let everyone know, I've unfuggered the 1.1.0 distributions on Zope.org and Squishdot.org. The ones up there now shouldn't suffer from the errors some people have been experiencing...
I am planning a 1.2.0 release once I figure out how to make sgmllib.py not to stupid things with XHTML. Anyone who's interested in this, please give me a shout :-) (Does Zope 2.3.2+ ship with a fast XML parser? If so, what's it called and where do I import it from?)
Hi ho, hi ho, it's off to the CMF I go :-)
cheers,
Chris
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Phil Harris wrote:
Doesn't Zope come with Expat and also a Python interface to it?
<zopedir>/lib/python/Shared/DC/xml/pyexpat
So it does :-) How fast is that compared to sax, xmllib or anything else you'd care to recommend? Where's the documentation? How would I got about building a very simple parser that has hooks for open tags, closing tags, entities and data? cheers, Chris
Bout as fast as they come supposedly. I've done quite a bit of playing with XML/XSL processors and the Python one, despite what 4Thought say is still *way* too slow to be really usable. The fastest I've tried is the Microsoft one, but I don't suppose you want to limit Squishdot to Win32 eh!. Expat though is used in lot's of apps so must be pretty good, PHP uses it for instance. hth ----- Original Message ----- From: "Chris Withers" <chrisw@nipltd.com> To: "Phil Harris" <phil.harris@zope.co.uk> Cc: <squishdot@yahoogroups.com>; <zope@zope.org> Sent: Monday, May 14, 2001 4:56 PM Subject: Re: [Zope] Squishdot News
Phil Harris wrote:
Doesn't Zope come with Expat and also a Python interface to it?
<zopedir>/lib/python/Shared/DC/xml/pyexpat
So it does :-)
How fast is that compared to sax, xmllib or anything else you'd care to recommend? Where's the documentation?
How would I got about building a very simple parser that has hooks for open tags, closing tags, entities and data?
cheers,
Chris
Another thing, If you're going to use it then you might want to drop a line to Karl at digicool, he uses it as the basis of ParsedXML (at least at the moment). ----- Original Message ----- From: "Chris Withers" <chrisw@nipltd.com> To: "Phil Harris" <phil.harris@zope.co.uk> Cc: <squishdot@yahoogroups.com>; <zope@zope.org> Sent: Monday, May 14, 2001 4:56 PM Subject: Re: [Zope] Squishdot News
Phil Harris wrote:
Doesn't Zope come with Expat and also a Python interface to it?
<zopedir>/lib/python/Shared/DC/xml/pyexpat
So it does :-)
How fast is that compared to sax, xmllib or anything else you'd care to recommend? Where's the documentation?
How would I got about building a very simple parser that has hooks for open tags, closing tags, entities and data?
cheers,
Chris
Phil Harris wrote:
Another thing,
If you're going to use it then you might want to drop a line to Karl at digicool, he uses it as the basis of ParsedXML (at least at the moment).
I'll be off to renew my subscription to the ParsedXML list then :-) cheers, Chris
--On Monday, May 14, 2001 16:36:07 +0100 Chris Withers <chrisw@nipltd.com> wrote:
I am planning a 1.2.0 release once I figure out how to make sgmllib.py not to stupid things with XHTML. Anyone who's interested in this, please give me a shout :-) (Does Zope 2.3.2+ ship with a fast XML parser? If so, what's it called and where do I import it from?)
Look at how ZPT addresses the issue, chris... i know they did a lot of work in this area. -- ethan mindlace fremen zopatista community liason
(Does Zope 2.3.2+ ship with a fast XML parser? If so, what's it called and where do I import it from?)
Just because you mentioned "fast": Am I doing any thing wrong, or is ParsedXML extremely slow? The tests I did were not really reliable, but even with a fast Pentium III machine (800 MHz, a lot of RAM), switching between the edit view and the DOM view can take a couple of seconds for me. And that's for really simple, ten-line test XML documents. O.k., that's why you call it "parsed": it has to parse the DOM tree in realtime. But still I expected much better performance ... Joachim
ethan mindlace fremen wrote:
(Does Zope 2.3.2+ ship with a fast XML parser? If so, what's it called and where do I import it from?)
Look at how ZPT addresses the issue, chris... i know they did a lot of work in this area.
D'oh! Of course... Thanks Ethan, I'll go ask there :-) cheers, Chris
participants (4)
-
Chris Withers -
ethan mindlace fremen -
Joachim Werner -
Phil Harris