W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > January to March 2006

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

From: <bugzilla@wiggum.w3.org>
Date: Tue, 28 Feb 2006 04:15:27 +0000
To: www-xml-schema-comments@w3.org
Cc:
Message-Id: <E1FDwGl-0005YG-Fr@wiggum.w3.org>

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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:50:05 UTC