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: Refer to keys in the other grammar.



> I haven't proposed making key names local to a grammar, and your example
> seems like a good reason not to do so.

I see.

Just in case, there is one more problem if symbol spaces are local to
the grammar. If you include the same grammar twice, you can't have a
reference between those two.


<grammar>
  <start>
    <element name="root">
      <element name="documentation">
        <include href="XHTML.rng"/>
      </element>

      <element name="documentation2">
        <include href="XHTML.rng"/>
      </element>
  </start>
</grammar>

--
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