This is a very minor issue, but XEP-0234 uses positiveInteger as attribute type for the FileTransferElementType's size attribute.
positiveInteger contains all positive numbers except '0', which requires implementers to choose eg. the BigInteger class to represent that value. I think unsignedLong would fit better here. Same goes for the fileTransferRangeType's offset value, which is currently nonNegativeInteger. This limits the size of the transferred file to 4GB or less. Last but not least, the fileTransferRangeType is missing the length attribute. vv
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Standards mailing list Info: https://mail.jabber.org/mailman/listinfo/standards Unsubscribe: standards-unsubscr...@xmpp.org _______________________________________________