← Prev in month ← Prev in thread
Next in thread → Next in month →

[relax-ng] Why is the start element always mandatory when a grammar isused

From
Eric van der Vlist <>
Date
2002-06-27T16:01:03+00:00
ID
1025193641.2758.83.camel@ibook
Thread
[relax-ng] Why is the start element always mandatory when a grammar isused
Hi,

Just out of curiousity, is there a reason why as soon as a grammar
element is used a start element is mandatory even when there is no
ambiguity about the root element such as in:

<grammar>
 <define name="bar">
  <element name="bar">
   <empty/>
  </element>
 </define>
 <element name="foo">
  <ref name="bar"/>
 </element>
</grammar>

Is there any reason other than making the simplification of the schema
easier to describe and implement?

Thanks

Eric

-- 
See you in San Diego.
                               http://conferences.oreillynet.com/os2002/
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------
← Prev in month ← Prev in thread
Next in thread → Next in month →