W3C home > Mailing lists > Public > public-qt-comments@w3.org > January 2004

RE: [XSLT2.0] Adding lang attribute to decimal-format

From: Igor Hersht <igorh@ca.ibm.com>
Date: Tue, 13 Jan 2004 15:33:06 -0500
To: "Kay, Michael" <Michael.Kay@softwareag.com>
Cc: public-qt-comments@w3.org
Message-ID: <OF7FE1633A.742C70DC-ON85256E1A.0070DF2C@ca.ibm.com>





Agree. Not that important (but seems to be good).


Igor Hersht
XSLT Development
IBM Canada Ltd., 8200 Warden Avenue, Markham, Ontario L6G 1C7
Office D2-260, Phone (905)413-3240 ; FAX  (905)413-4839


                                                                                                      
                      "Kay, Michael"                                                                  
                      <Michael.Kay@soft        To:       Igor Hersht/Toronto/IBM@IBMCA,               
                      wareag.com>               <public-qt-comments@w3.org>                           
                                               cc:                                                    
                      01/13/2004 02:47         Subject:  RE: [XSLT2.0] Adding lang attribute to       
                      PM                        decimal-format                                        
                                                                                                      
                                                                                                      
                                                                                                      



>
> SUGGESTION 3:
> 16.4.1 Defining a Decimal Format
>
> Add attribute lang? = { nmtoken }.
> The rules for the attributes are the same as for
> this attributes in other elements (e.g. xsl:number).
> lang attribute should control default values for attributes:
> decimal-separator, grouping-separator, infinity minus-sign,
> NaN, percent, per-mille, zero-digit. (e.g. text
> "decimal-separator specifies the character used for the
> decimal-separator-sign; the default value is the period
> character (.)" should be replaced with decimal-separator
> specifies the character used for the decimal-separator-sign;
> the default value is default for a given language".
>

A personal response: I think this is of marginal benefit. I don't think
it's difficult for users to specify exactly what formatting they want,
and it gives better interoperability if they do so: how likely is it
that different processors will choose the same representation for "NaN"
in Italian?

Michael Kay
Received on Tuesday, 13 January 2004 15:35:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:14:04 GMT