Hide metadata

dc.date.accessioned2013-03-12T08:04:15Z
dc.date.available2013-03-12T08:04:15Z
dc.date.issued2003en_US
dc.date.submitted2003-05-02en_US
dc.identifier.citationTorjusen, Arild Braathen. A Formal and Executable Model for Comparing XML Documents. Hovedoppgave, University of Oslo, 2003en_US
dc.identifier.urihttp://hdl.handle.net/10852/8785
dc.description.abstractThe main result in this thesis is the definition of a difference operator for XML documents and the implementation of a corresponding algorithm. The difference operator is similar to the diff Unix command, but it applies to structured documents rather than to plain files. The intended usage for the operator is to compare XML documents or webpages to identify updates and changes. It is suggested to model a simplified version of XML as terms. A partial order relation is defined for such terms and a difference operator is formally defined with basis in the partial order. The operator must satisfy four properties, one of which is a minimality cirtierion. With these properties the result of the operator is a unique term. A difference algorithm is presented and is proved to be correct with regards to the definition of the operator. The proofs are by structural induction on the terms. The algorithm is implemented in Haskell as a function which ranges over a type representing the simplified version of XML. The operator is initially defined for a simplified version of XML to discover the principal properties for such an operator. The results obtained for the simple model can be generalised to a model for proper XML. The thesis does not contain a formal definition for such an extended model but a Haskell function which ranges over a type representing XML without simplifications is implemented. Some examples of the application of the latter function to XHTML documents is presented.nor
dc.language.isoengen_US
dc.titleA Formal and Executable Model for Comparing XML Documentsen_US
dc.typeMaster thesisen_US
dc.date.updated2003-07-04en_US
dc.creator.authorTorjusen, Arild Braathenen_US
dc.subject.nsiVDP::420en_US
dc.identifier.bibliographiccitationinfo:ofi/fmt:kev:mtx:ctx&ctx_ver=Z39.88-2004&rft_val_fmt=info:ofi/fmt:kev:mtx:dissertation&rft.au=Torjusen, Arild Braathen&rft.title=A Formal and Executable Model for Comparing XML Documents&rft.inst=University of Oslo&rft.date=2003&rft.degree=Hovedoppgaveen_US
dc.identifier.urnURN:NBN:no-5664en_US
dc.type.documentHovedoppgaveen_US
dc.identifier.duo10556en_US
dc.contributor.supervisorBjarte M. Østvold, Olaf Oween_US
dc.identifier.bibsys030894166en_US


Files in this item

FilesSizeFormatView

No file.

Appears in the following Collection

Hide metadata