Re: Issue: adding a shortcut for grammar-level inclusion

From
Kohsuke KAWAGUCHI <>
Date
2001-05-24T16:44:57+00:00
ID
Thread
Re: Issue: adding a shortcut for grammar-level inclusion
> But I'd still have to write it this way:
> 
>  <externalRef href="XHTML.rng">
>    <start>
>      <ref name="div"/>
>      <ref name="html"/>
>      <ref name="table"/>
>    </start>
>  </externalRef>

I think cases like the above is less frequent. And this can be better served
by the following pattern.

<grammar>
  <include href="XHTML.rng">
    <start>
      <ref name="div"/>
      <ref name="html"/>
      <ref name="table"/>
    </start>
  </include>
</grammar>


So I would rather suggest to drop the feature to allow the <start>
element under the <grammar> element.



--
Kohsuke KAWAGUCHI                          +1 650 786 0721
Sun Microsystems