[Bug 2948] Datatypes 2006-02-17 WD: use order relation for min/max facets

http://www.w3.org/Bugs/Public/show_bug.cgi?id=2948

           Summary: Datatypes 2006-02-17 WD: use order relation for min/max
                    facets
           Product: XML Schema
           Version: 1.1 only
          Platform: Macintosh
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Datatypes: XSD Part 2
        AssignedTo: cmsmcq@w3.org
        ReportedBy: xan.gregg@jmp.com
         QAContact: www-xml-schema-comments@w3.org


minExclusive and other facets define how to compare values. From 4.3.9.3:

  Validation Rule: minExclusive Valid
  A value in an ·ordered· ·value space· is facet-valid with respect to ·minExclusive· if and only if:
  1 if the {value} property of the numeric component in {fundamental facets} is true, 
  then the value ·must· be numerically greater than {value};
  2 if the {value} property of the numeric component in {fundamental facets} is false 
  (i.e., {base type definition} is one of the date and time related datatypes), then the 
  value ·must· be chronologically greater than {value}; 

Why not just rely on the already-defined order relation of the type instead of specifying "numerically" or 
"chronologically"?

Received on Tuesday, 28 February 2006 04:15:29 UTC