Re: Improving 7.1

From
Kohsuke KAWAGUCHI <>
Date
2001-07-27T19:35:32+00:00
ID
Thread
Re: Improving 7.1
>   foo - bar
> 
> to indicate something that matches foo but doesn't contain any bar
> descendants. Then I think this restriction can be described by saying that
> the content of a group or interleave element not inside a list element must
> match
> 
> (pattern - data - value) (pattern - data - value)
> | pattern (pattern - text - data - value)
> | (pattern - text - data - value) pattern

The following might be better

  (pattern - {data,value}) (pattern - {data,value})
| pattern (pattern - {data,value,text})
| (pattern - {data,value,text}) pattern

At first I was confused because A-B is whether left-associative or
right-associative.


regards,
--
Kohsuke KAWAGUCHI                          +1 650 786 0721
Sun Microsystems