Fixing Collaborative Edition on Typed Documents

Collaborative edition is achieved by distinct sites that work independently on (a copy of) a shared document. In pure Peer to Peer collaborative editing, no centralization nor locks nor timestamps, therefore convergence, i.e. all sites have the same copy of the shared document, is the main issue. When the editing operations defined on the data structure enjoy a commutation property, efficient algorithms can be designed. The XML language provides a widely used format for documents and these documents are usually typed by DTD's or XML Schemas that are subclasses of regular tree languages. We extend a collaborative editing algorithm that relies on a notion of semantics dependence for operations and a tree data structure implementing XML documents to handle type information provided by DTD's or XML Schemas (and more generally regular tree languages). We show that the algorithm is convergent and that the final document has the required type.

[1]  Joan Manuel Marquès,et al.  A Commutative Replicated Data Type for Cooperative Editing , 2009, 2009 29th IEEE International Conference on Distributed Computing Systems.

[2]  Jef Wijsen,et al.  Current Trends in Database Technology - EDBT 2006, EDBT 2006 Workshops PhD, DataX, IIDB, IIHA, ICSNW, QLQP, PIM, PaRMA, and Reactivity on the Web, Munich, Germany, March 26-31, 2006, Revised Selected Papers , 2006, EDBT Workshops.

[3]  Denis Lugiez,et al.  Collaborative peer to peer edition: Avoiding conflicts is better than solving conflicts , 2009, IADIS AC.

[4]  Pascal Molli,et al.  Logoot: A Scalable Optimistic Replication Algorithm for Collaborative Editing on P2P Networks , 2009, 2009 29th IEEE International Conference on Distributed Computing Systems.

[5]  Jan Chomicki,et al.  Validity-Sensitive Querying of XML Databases Extended Abstract † , 2006 .

[6]  Junwei Lu,et al.  Generalizing operational transformation to the standard general markup language , 2002, CSCW '02.

[7]  Abdessamad Imine Conception Formelle d'Algorithmes de Réplication Optimiste Vers l'Edition Collaborative dans les Réseaux Pair-à-Pair. (Formal Design of Optimistic Replication Algorithms Towards Collaborative Edition in Peer-to-Peer Networks) , 2006 .

[8]  Hala Skaf-Molli,et al.  Supporting Collaborative Writing of XML Documents , 2007, ICEIS.

[9]  Antony I. T. Rowstron,et al.  The IceCube approach to the reconciliation of divergent replicas , 2001, PODC '01.

[10]  Hubert Comon,et al.  Tree automata techniques and applications , 1997 .

[11]  Norman Ramsey,et al.  An algebraic approach to file synchronization , 2001, ESEC/FSE-9.