[XML-SIG] [ pyxml-Bugs-407810 ] xmlproc chokes on lengthy comments

nobody nobody@sourceforge.net
Sun, 11 Mar 2001 18:42:47 -0800


Bugs #407810, was updated on 2001-03-11 18:42
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=106473&aid=407810&group_id=6473

Category: xmlproc
Group: None
Status: Open
Priority: 5
Submitted By: A.M. Kuchling
Assigned to: Lars Marius Garshol
Summary: xmlproc chokes on lengthy comments

Initial Comment:
Lengthy comment blocks cause xmlproc to raise a
RuntimeError: "maximum recursion depth exceeded"
error.  The problem is that a group is used to match an
individual character, and SRE recurses 
on group repeats: '([^-]|-[^-])*'.

Fix: would '(.*?)--' be an equivalent pattern?


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=106473&aid=407810&group_id=6473