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: [relax-ng] Re: RELAX NG 2.0 ideas

David RR Webber - XMLGlobal scripsit:

> I prefer 
>  <repeat occurs="*" limit="n">  
> as fostering better more interoperable software.
> Any time you introduced hardwired constriants the 
> potential exists for software failure in downstream systems
> that do not accommodate the values you are using.

And contrariwise: if you cannot specify hardwired constraints, you
may break rigid downstream systems that *know* that there are 28, 30,
or 31 days in a Gregorian month:

	element month {
		repeat 28 { day } | repeat 30 31 { day }

John Cowan <jcowan@reutershealth.com>     http://www.reutershealth.com
I amar prestar aen, han mathon ne nen,    http://www.ccil.org/~cowan
han mathon ne chae, a han noston ne 'wilith.  --Galadriel, _LOTR:FOTR_

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

Powered by eList eXpress LLC