[Standards-JIG] Re: JEP-0124: datatype for 'rid' attribute

Peter Saint-Andre stpeter at jabber.org
Tue Feb 7 22:20:55 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm beginning to think that unsignedLong is better than positiveInteger:

http://www.w3.org/TR/xmlschema-2/#unsignedLong

Thoughts?

Peter Saint-Andre wrote:
> JEP-0124 states:
> 
> "The <body/> element of every client request MUST possess a sequential
> request ID encapsulated via the 'rid' attribute. The client MUST
> generate a large positive non-zero random integer for the first 'rid'
> and then increment that value by one for each subsequent request. "
> 
> Unfortunately the schema has:
> 
>    <xs:attribute name='rid' type='xs:string' use='optional'/>
> 
> I propose to change the text as follows:
> 
> "The <body/> element of every client request MUST possess a sequential
> request ID encapsulated via the 'rid' attribute. The client MUST
> generate a large, random, positive integer [10] for the first 'rid' and
> then increment that value by one for each subsequent request."
> 
> Where [10] is:
> 
> "See <http://www.w3.org/TR/xmlschema-2/#positiveInteger>."
> 
> And then to modify the schema to have:
> 
>    <xs:attribute name='rid' type='xs:positiveInteger' use='optional'/>
> 
> Peter
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD6R1HNF1RSzyt3NURAuRVAJ9B0Tqo/Ba4FtoMCSTrCVoyvNONsACaA9mp
KfuRU3Goj+P1qGcReGbfLg4=
=AwGg
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3641 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.jabber.org/pipermail/standards/attachments/20060207/f557b422/attachment.bin>


More information about the Standards mailing list