Re: [xml] Regular Expression Problem



On Wed, Feb 20, 2008 at 02:31:41PM +0530, Ashwin wrote:


   Hi,

   While  evaluating  an expression against the following pattern, libxml
   is returning an internal error.

   The Pattern is
   -(conf:[a-zA-Z0-9.:_\-]+|conn:[a-zA-Z0-9.:_\-]+)/dialog:[a-zA-Z0-9.:_\
   -]+

   The expression is -conn:10600-0-3689-217.198.224.50.5060

   While debugging I found that it fails in xmlFARegExecRollBack function
   because of a rollback on an empty stack.... Is this a problem?

  Hum, unfortunately this looks like a different problem, it seems
to take a lot of cycles and I'm afraid there is something serious going
on and that can be only studied and fixed by debugging the generated
automata.
  reducing the expression and the input to provide a minimal automata
showing the problem is a good first step.

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]