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

Mridul Muralidharan mridul at sun.com
Thu Feb 9 01:08:28 UTC 2006


Hi,

  Makes sense to make it unsigned long so that we dont box ourselves in 
for the future.
Also allows a higher space for random number generation ...

Regards,
Mridul

Peter Saint-Andre wrote:

>-----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-----
>  
>




More information about the Standards mailing list