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

Peter Saint-Andre stpeter at jabber.org
Thu Feb 2 20:12:13 UTC 2006


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

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

- --
Peter Saint-Andre
Jabber Software Foundation
http://www.jabber.org/people/stpeter.shtml

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD4medNF1RSzyt3NURAqUlAJwL5KJ/XIObmr4smbmwdDTFKVxg3ACfVkI+
wqNXqobo4EZdZXLLD58D06w=
=2YGU
-----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/20060202/9675956f/attachment.bin>


More information about the Standards mailing list