[relax-ng] (Minor) inconstency between XML and compact syntaxes

From
Eric van der Vlist <>
Date
2003-01-03T09:50:58+00:00
ID
1041587303.5620.93.camel@ibook
Thread
[relax-ng] (Minor) inconstency between XML and compact syntaxes
Not very important, but I have just noticed that...

start = foo, bar

is allowed while

<start>
 <ref name="foo"/>
 <ref name="bar"/>
</start>

is forbidden (the content model of the start element accepts only one
pattern).

Wouldn't it be less confusing if a simplification rule was added to
embed start children element into a group (like it is the case for
define elements)?

Eric
-- 
Did you know it? Python has now a Relax NG (partial) implementation.
                                          http://advogato.org/proj/xvif/
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------