cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alfred Nathaniel <anathan...@apache.org>
Subject Re: [RT] Improved matching & selecting
Date Fri, 08 Dec 2006 22:39:29 GMT
On Fri, 2006-12-08 at 14:07 -0800, Mark Lundquist wrote:
...
> 
> > I think we should use two different keywords because otherwise the
> > content model depends on the presence of various attributes and not on
> > the tagname only -- that is really confusing.
> 
> To my mind, a special element to distinguish conditionals having 
> exactly 1 alternative is no more desirable than a special element to 
> distinguish conditionals having exactly two alternatives, or three, or 
> any other number; that is to say, not desirable at all.  In the scheme 
> I've proposed, it's very easy (and to me, natural) to tell how many 
> alternatives a matcher has.
> 
> best regards,
> —ml—

Could you try to write a Relax NG schema sniplet (preferable in compact
notation) for validating your proposed syntax?

Cheers, Alfred.


Mime
View raw message