On Jun 6, 2009, at 10:32 AM, Richard Hainsworth wrote:
rule element {
'<' <name> <attribute>*
| '/>'
| '>' <element>* '</' $<name> '>'

This is just a wild, uneducated, possibly delusional guess, but I don't think that vertical bar before the '/>' should be there. I think it might be causing the grammar engine to check whether it can omit the ending of each tag and attach it to the enclosing tag instead, which it can't confirm without examining the whole file at least once for each tag.

-- Minimiscience

Reply via email to