Draft Protocol Spec (Google Wave Federation Protocol) - 1 views
www.waveprotocol.org/...draft-protocol-spec
2010 2010-06 2010-06-12 Google Wave document annotation Extensible Messaging and Presence Protocol
shared by Graham Perrin on 12 Jun 10
- Cached
-
Draft
- ...22 more annotations...
-
to represent text formatting, spelling suggestions and hyper-links
-
more efficient to have just one annotation map for each consecutive run of items with the same annotations
-
current annotations update, which is a map of annotation keys to pairs (old-value, new-value), where old-value and new-value are either null or an annotation value
-
message AnnotationBoundary { // This field is set to true if and only if both ends and changes are // empty. It is needed to ensure that the optional annotationBoundary // component field is not dropped during serialization. optional bool empty = 1; // MUST NOT have the same string twice. repeated string end = 2; // MUST NOT have two updates with the same key. MUST NOT // contain any of the strings listed in the 'end' field. repeated KeyValueUpdate change = 3; }
-
optional AnnotationBoundary annotationBoundary = 1; optional string characters = 2; optional ElementStart elementStart = 3; optional bool elementEnd = 4; optional int32 retainItemCount = 5; optional string deleteCharacters = 6; optional ElementStart deleteElementStart = 7; optional bool deleteElementEnd = 8; optional ReplaceAttributes replaceAttributes = 9; optional UpdateAttributes updateAttributes = 10;