W3C home > Mailing lists > Public > www-xml-fragment-comments@w3.org > March 2002

[www-xml-fragment-comments] <none>

From: Stephen Clout <sclout@bigpond.net.au>
Date: Sun, 10 Mar 2002 19:22:48 +1100
Message-ID: <001401c1c80c$c3de40d0$a2622dcb@sclout>
To: <www-xml-fragment-comments@w3.org>
Cc: "Rick Jelliffe" <ricko@topologi.com>, <pgrosso@arbortext.com>

My name is Stephen Clout, and I produced a simple implementation of the XML Fragment Interchange specification (http://www.w3.org/TR/xml-fragment) for my 4th year engineering thesis project at the University of Sydney, Australia.  

The implementation was in Java, had its own SAX based XPath implementation, and had a DTD generation facility which produced a minimal DTD for a fragment based on the fragment, the context specification, and the original DTD of the source document.

The specification was relatively easy to implement because of the nature and flexibility of the candidate recommendation.

Some design decisions (or changes to the spec) that I made include:
  1.. Transmitting the fragment body and its context specification in one file, which involved the creation of a new namespace to accommodate the fragment and its context.
  2.. Use of a subset of the XPath recommendation to select a  fragment.
  3.. Returning ALL of the elements that matched a given XPath expression. 
Fragment insertion into the original source document was not investigated during the course of this project because of the issue of fragment locking, which was beyond the scope of this project.
If there is any interest in this implementation, I will release beta version for evaluation in the next few weeks.

Kind regards
Received on Tuesday, 12 March 2002 01:29:03 UTC

This archive was generated by hypermail 2.4.0 : Monday, 12 July 2021 09:56:10 UTC