W3C home > Mailing lists > Public > public-qt-comments@w3.org > September 2016

[Bug 29863] New: [FO31] Is there a constructor function for xs:numeric?

From: <bugzilla@jessica.w3.org>
Date: Thu, 22 Sep 2016 19:41:11 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-29863-523@http.www.w3.org/Bugs/Public/>

            Bug ID: 29863
           Summary: [FO31] Is there a constructor function for xs:numeric?
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Functions and Operators 3.1
          Assignee: mike@saxonica.com
          Reporter: mike@saxonica.com
        QA Contact: public-qt-comments@w3.org
  Target Milestone: ---

Is there a constructor function for xs:numeric?

The intro to section 18 says:

Constructor functions are defined for all user-defined named simple types, and
for most built-in atomic, list, and union types. The only named simple types
that have no constructor function are those that have no instances other than
instances of their derived types: specifically, xs:anySimpleType,
xs:anyAtomicType, and xs:NOTATION.

which would suggest yes (unless one argues that xs:numeric is neither a
user-defined type nor a built-in type).

But no constructor function is listed in 18.4; constructors for all other types
in the xs namespace are explicitly enumerated.

Although there's little practical use for the function, consistency really
demands that it exists, and we should therefore list it in 18.4.

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Thursday, 22 September 2016 19:41:19 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:58:02 UTC