matic, semi-automatic or interactive. The objects sub-
ject to collaboration are structured and therefore se-
mantic fine-grained policies for merging can be spec-
ified. Our approach was driven by the same motiva-
tion as Suite of obtaining a flexibility for merging and
it was applied for text documents as shown in (Ignat
and Norrie, 2006) and for XML documents as shown
in this paper. The framework proposed in (Shen and
Dewan, 1992) is a general framework where a merge
matrix defines merge functions for the possible set of
operations. For two concurrent operations it is spec-
ified if one of these operations should be executed,
if the intervention of users is needed to decide which
operation to execute or if both operations should be
executed. In the case that both operations should be
executed, it is not specified how the two operations
should be executed, such as a certain order of execu-
tion. In our approach we have an exact mechanism
of executing two operations such that their intentions
are preserved. In fact, our approach could be seen as a
combination of the general merging approach used in
Suite and the operational transformation mechanism.
7 CONCLUSIONS
In this paper we proposed a mechanism for the recon-
ciliation of XML documents where users can specify
various ways of merging changes referring to an el-
ement - automatically, semi-automatically and man-
ually. Our merging approach is based on opera-
tions that track user changes performed on different
units of the document. We extended the operational
transformation mechanism for merging hierarchical
structures. An asynchronous collaborative editor over
XML documents was build based on the approach de-
scribed in this paper.
Our approach is currently based on a central
repository. We plan to extend collaboration over
XML documents for decentralised environments.
REFERENCES
Cobena, G., Abiteboul, S., and Marian, A. (2002). Detect-
ing changes in XML documents. In Proceedings of the
18th International Conference on Data Engineering
(ICDE’02), pages 41–52, San Jose, California, USA.
Davis, A. H., Sun, C., and Lu, J. (2002). Generaliz-
ing operational transformation to the standard general
markup language. In Proceedings of the 2002 ACM
conference on Computer supported cooperative work
(CSCW ’02), pages 58–67, New Orleans, Louisiana,
USA.
Ellis, C. A. and Gibbs, S. J. (1989). Concurrency control
in groupware systems. SIGMOD Record, 18(2):399–
407.
Fontaine, R. L. (2001). A delta format for XML: Identifying
changes in XML files and representing the changes in
XML. In Proceedings of XML Europe, Berlin, Ger-
many.
Ignat, C.-L. and Norrie, M. C. (2003). Customizable
collaborative editor relying on treeOPT algorithm.
In Proceedings of the 8th European Conference on
Computer-supported Cooperative Work (ECSCW’03),
pages 315–334, Helsinki, Finland.
Ignat, C.-L. and Norrie, M. C. (2005). Flexible merging of
hierarchical documents. Seventh International Work-
shop on Collaborative Editing, GROUP’05, IEEE
Distributed Systems online.
Ignat, C.-L. and Norrie, M. C. (2006). Flexible definition
and resolution of conflicts through multi-level editing.
In Proceedings of the 2nd International Conference on
Collaborative Computing: Networking, Applications
and Worksharing (CollaborateCom’06), Georgia, At-
lanta, USA.
Lippe, E. and van Oosterom, N. (1992). Operation-based
merging. In Proceedings of the fifth ACM SIGSOFT
symposium on Software development environments,
pages 78–87, Tyson’s Corner, Virginia, USA.
Molli, P., Skaf-Molli, H., Oster, G., and Jourdain,
S. (2002). SAMS: Synchronous, asynchronous,
multi-synchronous environments. In Proceedings of
the Conference on Computer-supported Cooperative
Work in Design (CSCWD’02), pages 80–85, Rio de
Janeiro, Brazil.
Shen, H. and Dewan, P. (1992). Access control for collabo-
rative environments. In Proceedings of the 1992 ACM
conference on Computer-supported Cooperative Work
(CSCW’92), pages 51–58, Toronto, Ontario, Canada.
Shen, H. and Sun, C. (2002). Flexible merging for asyn-
chronous collaborative systems. In Proceeding of
the Conference on Cooperative Information Systems
(CoopIS’02), pages 304–321, Irvine, California, USA.
Wang, Y., DeWitt, D. J., and Cai, J. (2003). X-diff: An
effective change detection algorithm for XML doc-
uments. In Proceedings of the International Con-
ference on Data Engineering (ICDE’03), pages 519–
530, Bangalore, India.
XMLSpy (2007). Altova XMLSpy. Available online.
http://www.altova.com/products
ide.html.