[Zope] Error Type: ExpatError

Fred Drake fdrake at gmail.com
Wed Oct 12 14:58:29 EDT 2005


On 10/12/05, Garito <garito at sistes.net> wrote:
> I run your test but no error was raised

Right.

> I attach an xml file like I use and who raise the error, perhaps these
> could help to reproduce the error

If you replaced SAMPLE_TEXT in the test script with this data, an
error would indeed be raised, because it's testing that it got the
data from the sample text.  The test was intended to demonstrate that
pyexpat can handle more than 8192 characters of data between tags, and
does so.

I was able to verify well-formedness of your document, and load it
into minidom from a file without problems, using Python 2.3.5 and
2.4.2.  I need more information about what went wrong for you before I
can help with that; the error you received suggests that there was no
input at all.


  -Fred

--
Fred L. Drake, Jr.    <fdrake at gmail.com>
"Society attacks early, when the individual is helpless." --B.F. Skinner


More information about the Zope mailing list