This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 12572 - pointer to precisionDecimal
Summary: pointer to precisionDecimal
Status: CLOSED FIXED
Alias: None
Product: XML Schema
Classification: Unclassified
Component: Datatypes: XSD Part 2 (show other bugs)
Version: 1.1 only
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: David Ezell
QA Contact: XML Schema comments list
URL:
Whiteboard:
Keywords: resolved
Depends on:
Blocks:
 
Reported: 2011-04-29 16:34 UTC by Dave Peterson
Modified: 2011-06-03 02:03 UTC (History)
2 users (show)

See Also:


Attachments

Description Dave Peterson 2011-04-29 16:34:04 UTC
With precisionDecimal deleted from XSD Part 2 and to be published as a separate Note, once that Note is published there should be a pointer to that note in XSD Part 2.  MSM suggested such a pointer could be in the discussion about implementation-defined datatypes.
Comment 1 C. M. Sperberg-McQueen 2011-05-04 16:38:46 UTC
Would the following changes resolve this issue satisfactorily?

1 In section 2.4.2 Special vs. Primitive vs. Ordinary Datatypes,
expand the existing note from 

    Note: As normatively specified elsewhere, conforming processors
    must support all the primitive datatypes defined in this
    specification; it is ·implementation-defined· whether other
    primitive datatypes are supported.

to

    Note: As normatively specified elsewhere, conforming processors
    must support all the primitive datatypes defined in this
    specification; it is ·implementation-defined· whether other
    primitive datatypes are supported.

    Processors MAY, for example, support the floating-point decimal
    datatype specified in [Precision Decimal].

2 In section 2.4.3 Definition, Derivation, Restriction, and
Construction, expand the first existing note from 

    Note: The properties of any ·implementation-defined· ·primitive·
    datatypes are given not here but in the documentation for the
    implementation in question.

to

    Note: The properties of any ·implementation-defined· ·primitive·
    datatypes are given not here but in the documentation for the
    implementation in question.  Alternatively, a primitive datatype
    not specified in this document can be specified in a document
    of its own not tied to a particular implementation; [Precision
    Decimal] is an example of such a document.

3 In section 3.3 Primitive Datatypes, immediately before section
3.3.1 string add a new note immediately following the paragraph that
now reads

    Conforming processors MUST support the ·primitive· datatypes
    defined in this specification; it is ·implementation-defined·
    whether they support others. ·Primitive· datatypes may be added
    by revisions to this specification.

        Note: Processors MAY, for example, support the
        floating-point decimal datatype specified in [Precision
        Decimal].

4 In the non-normative references, add

    Precision decimal

    World Wide Web Consortium. An XSD datatype for IEEE
    floating-point decimal, ed. David Peterson and
    C. M. Sperberg-McQueen. W3C Working Group Note
    to-be-published-rsn. Available at:
    http://www.w3.org/XML/Group/2004/06/pD/precisionDecimal.html
    (member-only link; to be published; this citation will be
    updated silently).

Sometimes I've thought we might also wish to mention the
precision-decimal document at the places where we talk about
implementation-defined facets (specifically the bottom of 4.1.5),
but I don't see a good hook there this morning.

This proposal has not had editorial review, but I'm taking the 
liberty of marking it needsReview anyway; the other editors should
not be held responsible for any flaws in the proposal.
Comment 2 Noah Mendelsohn 2011-05-05 01:21:55 UTC
> MSM suggested such a pointer could be
> in the discussion about implementation-defined
> datatypes.

Yes, though it makes a lot of sense to me to also/instead have a brief mention and link from notes in at least the decimal type section, and conceivably float/double too (on the theory that pD is both a decimal type, and unified in its IEEE specification with the binary floating types).

I wouldn't make a big fuss if you decide to stick with just implementation-defined, but I do think at least some of the other mentions make at least as much sense. Thank you.

Noah
Comment 3 David Ezell 2011-05-06 16:15:51 UTC
amendment:  After para 1 of 3.3.3 decimal, add "Note:  For a decimal datatype whose values do reflect precision, see [Precision Decimal].

Resolution: adopt the proposal as ammended.
Comment 4 C. M. Sperberg-McQueen 2011-06-02 19:44:41 UTC
The proposal adopted on 6 May (as amended) has now been integrated into the status-quo documents, so I'm marking this issue resolved.

Dave, if as the originator you would check that the fix has taken and then close or reopen this issue?  Thanks.
Comment 5 Dave Peterson 2011-06-03 02:03:06 UTC
looks OK, pending publication of the separate Note which will entail changing the pointer thereto.