Next in thread → Next in month →

Re: Refer to keys in the other grammar.

From
Kohsuke KAWAGUCHI <>
Date
2001-05-17T17:21:09+00:00
ID
Thread
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                   
Next in thread → Next in month →