[relaxng-user] missing start element
David Tolpin
dvd at davidashen.net
Sat Nov 29 01:16:06 ICT 2003
> > Which one is the correct one? Should the grammar for RNG be modified so that
> > grammar is
> >
> > start & (define|include|div)*
> >
> > instead of
> >
> > (start|define|include|div)*
>
> No, because you can define a grammar without start pattern that you
> include in other grammars which have a start pattern.
OK. So the only grammars which can omit start element are top-level ones? In which
case it is not a pattern because it does not match?
It makes things more clear, thank you. I would still prefer to have RELAX NG schema
for RELAX NG specifying it.
David Tolpin
More information about the relaxng-user
mailing list