[relax-ng] Re: [relax-ng-comment] Compact Syntax: Annotation elementwith both attributes and text content

From
James Clark <>
Date
2002-11-05T08:54:23+00:00
ID
001901c284a8$a4166b20$
Thread
[relax-ng] Re: [relax-ng-comment] Compact Syntax: Annotation elementwith both attributes and text content
> > (2) x:foo[a="x" b="y"] { "some " b[]{ "children" } }
>
> Looks good to me. What about the annotations production
> then? Would it also be split in the same way?
>
> []{ x:desc []{"the start pattern"}}
> start = ...

Hmmm.  That's pretty ugly.  Although it's not strictly necessary to split
it, it would be strange not.  Seems like an argument in favour of option
(1), which allows

[x:desc [ "the start pattern" ]]
start = ...

as now...

James