OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

relax-ng message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: 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                   kohsuke.kawaguchi@eng.sun.com



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC