Re: [xml] Regular Expression Problem
- From: Daniel Veillard <veillard redhat com>
- To: Ashwin <ashwins huawei com>
- Cc: xml gnome org, ranjit huawei com, nageshs huawei com
- Subject: Re: [xml] Regular Expression Problem
- Date: Wed, 20 Feb 2008 07:43:42 -0500
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]