> > > 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. I reduced the input pattern to (conf:[a-zA-Z0-9.:_\-]+|conn:[a-zA-Z0-9.:_\-]+) And the given input works for this, but as soon as I add the dialog expression it fails, also it passes if I reduce the length of the input expression, Something like conn:10600-0-3689-217.198 or reduce it even further it gives a expression match failure but no error.... Regards Ashwin _______________________________________________ xml mailing list, project page http://xmlsoft.org/ [email protected] http://mail.gnome.org/mailman/listinfo/xml
