RE: [Simple] notes from the SIMPLE components adhoc at IETF53
"Adrian Bateman" <[email protected]>
| Newsgroups | gmane.ietf.impp |
|---|---|
| Organization | VisionTech Limited |
| Message-ID | <000801c1f5ec$fa6a6c10$6405010a@ADRIANXP> |
On 07 May 2002 01:20, Carr, Wayne wrote:
> > Wayne - Is it possible to consider changing priority to be a float
> > in range [0.0-1.0], for consistency with the sip specification? (Or
> > is there something else this also needs to be consistent with?)
>
> The group was looking to see if the range needed to be changed for
> 'simple'. I don't know if there are constraints that it be integer.
> The q values proposed in SIP are the same as in HTTP, restricted to at
> most 3 decimal fractional digits (just decimal, not float notation
> with 'e'). Here's that type defined in XML Schema.
>
> <xs:simpleType name="qvalue">
> <xs:restriction base="xs:decimal">
> <xs:pattern value="(0|1)(\.[0-9]{0,3})?"/>
> </xs:restriction>
> </xs:simpleType>
>
> Another option if the impp presence value needed to be an integer,
> would be a range that's mappable easily to qvalue like [0..1000]
My preference would be toward the integer value (I'm just happier
dealing with integers) but I don't have any substantial objections to
the alternative.
Adrian.
[reminder: [email protected] for non-technical discussions, please]