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: [relax-ng] Discrepancy in treatment of pattern facet


The XSD Guidelines says:

# If the pattern parameter is specified more than once for a single data
# element, then a string matches the data element only if it matches all
# of the patterns. It is an error to specify a parameter other than pattern
# more than once for a single data element.

But XS part 2 says:

# If multiple pattern element information items appear as children
# of a simpleType, the values should be combined as if they appeared
# in a single regular expression as separate [choice] branches.

Why this incompatibility?  RNG says "all", XSD says "any".

-- 
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