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: Reopening Issue 26: regularityConstraint

I propose to reopen Issue 26 for two reasons.  I would like 
to disallow <oneOrMore> containing both <attributes> and <ref ..>
(which references to a named pattern representing an element).
For example:

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

First, after the decision for Issue 26, we changed the semantics 
of oneOrMore so that it disallows colliding attributes.  One could 
thus argue that the keyword oneOrMore represents two different constructs: 
one is to allow repetition of elements freely and the other 
is to allow non-colliding repetition of attributes.

Second, the BNF created by James becomes simpler if we disallow 
coexistense of attributes and elements in <oneOrMore>.  We can 
get rid of "repeatable"




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

Powered by eList eXpress LLC