OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] RESTful operations on document fragments

On Sat, Feb 23, 2008 at 1:44 PM, Simon St.Laurent <simonstl@simonstl.com> wrote:
> Just to note that I've posted a hopefully coherent blog entry on this
>  set of ideas:
>  <http://www.oreillynet.com/xml/blog/2008/02/addressing_fragments_in_rest_1.html>

One of your examples is the following URI:
which as you say "reference[s] all the chapter titles in a book".  An
interesting tie-in with the current XML 2.0 thread on this list is
that if you were to perform a GET on this URI, it would be nice to
have a format for the return value.  If we were to go with Norm
Walsh's 7th suggestion for XML 2.0[0], then we could just return all
the titles in a single (XML 2.0) document:

 <?xml version="2.0"?>
 <title>Title of first chapter</title>
 <!-- ... -->
 <title>Title of nth chapter</title>

One certainly does need to "be very careful with identifiers that
reference multiple fragments", but moving forward with XML could
provide a nice alignment with what you are trying to accomplish with
identifying a set of sub-resources.

Take care,

   John L. Clark

PLEASE NOTE that this message is not digitally signed.  As a result,
you have no strong evidence that this message was actually sent by me.
 Upon request I can provide a digitally signed receipt for this
message or other evidence validating its contents if you need such

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS