3.1.5.3 Serialize Payload Element

The payload element MUST be serialized into a byte representation. As part of the serialization, all attributes for each element MUST be sorted alphabetically, with no compression and no extra white spaces. UTF8 encoding MUST be used. In addition, the following rules MUST be followed to ensure successful security processing:

  • The following MUST be present at the beginning of the serialized data:

        <?xml version='1.0'?><?groove.net version='1.0'?>
    
  • A namespace prefix or "xmlns" attribute MUST NOT be added.