Advertisement

Fixing Collaborative Edition on Typed Documents

  • Stéphane Martin
  • Denis Lugiez
Part of the Lecture Notes in Computer Science book series (LNCS, volume 6240)

Abstract

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.

Keywords

Peer to Peer Framework CRDT Collaborative Editing Valid XML documents 

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. 1.
    Comon, H., Dauchet, M., Gilleron, R., Löding, C., Jacquemard, F., Lugiez, D., Tison, S., Tommasi, M.: Tree automata techniques and applications (2007), http://www.grappa.univ-lille3.fr/tata (Release October 12, 2007)
  2. 2.
    Davis, A., Sun, C., Lu, J.: Generalizing operational transformation to the standard general markup language. In: CSCW 2002: Proceedings of the 2002 ACM Conference on Computer Supported Cooperative Work, pp. 58–67. ACM, New York (2002)Google Scholar
  3. 3.
    Imine, A.: Conception Formelle d’Algorithmes de Réplication Optimiste. Vers l’Edition Collaborative dans les Réseaux Pair-á-Pair. Ph.D. thesis, Université Henri Poincaré, Nancy (Décembre 2006)Google Scholar
  4. 4.
    Kermarrec, A., Rowstron, A., Shapiro, M., Druschel, P.: The icecube approach to the reconciliation of divergent replicas. In: PODC 2001: Proceedings of the Twentieth Annual ACM Symposium on Principles of Distributed Computing, pp. 210–218. ACM, New York (2001)CrossRefGoogle Scholar
  5. 5.
    Martin, S., Lugiez, D.: Collaborative peer to peer edition: Avoiding conflicts is better than solving conflicts. In: Weghorn, H., Isaías, P.T. (eds.) Proceedings of the IADIS International Conference Applied Computing 2009, Rome, Italy, November 19-21, vol. 2, pp. 124–128. IADIS Press (2009), http://www.lif.univ-mrs.fr/~martin/research
  6. 6.
    Oster, G., Skaf-Molli, H., Molli, P., Naja-Jazzar, H.: Supporting Collaborative Writing of XML Documents. In: Proceedings of the International Conference on Enterprise Information Systems: Software Agents and Internet Computing - ICEIS 2007, Funchal, Madeira, Portugal, pp. 335–342 (June 2007)Google Scholar
  7. 7.
    Preguiça, N.M., Marquès, J.M., Shapiro, M., Letia, M.: A commutative replicated data type for cooperative editing. In: ICDCS, pp. 395–403 (2009)Google Scholar
  8. 8.
    Ramsey, N., Csirmaz, E.: An algebraic approach to file synchronization. In: 9th Foundations of Softw. Eng., Austria, pp. 175–185 (September 2001)CrossRefGoogle Scholar
  9. 9.
    Staworko, S., Chomicki, J.: Validity-sensitive querying of XML databases. In: Grust, T., Höpfner, H., Illarramendi, A., Jablonski, S., Mesiti, M., Müller, S., Patranjan, P.-L., Sattler, K.-U., Spiliopoulou, M., Wijsen, J. (eds.) EDBT 2006. LNCS, vol. 4254, pp. 164–177. Springer, Heidelberg (2006)CrossRefGoogle Scholar
  10. 10.
    Weiss, S., Urso, P., Molli, P.: Logoot: A scalable optimistic replication algorithm for collaborative editing on p2p networks. In: ICDCS, pp. 404–412 (2009)Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2010

Authors and Affiliations

  • Stéphane Martin
    • 1
  • Denis Lugiez
    • 1
  1. 1.Laboratoire d’Informatique FondamentaleMarseilleFrance

Personalised recommendations