Thanks these are much more helpful in working out the Principles/requirements
that guide your thinking.
Here are two requirements that make sense to me and seem close to giving the same results in preferences that you have:
P1. Atom documents should be easily parsable. P2. Atom documents should be easily updatable.
I think P2 is especially difficult for a format that would be recursive such as
feed
entry1
entry2
entry response1
entry response1.1
entry response2
as it might force updates to add xml to the middle of an xml document and so force the whole document to be regenerated. Placing entries in a sequence and having them refer to each other by reference makes it much easier to update your original document.
In RDF this would be similar to the TRiX or the RPV (presented by Tim Bray) proposals [1].
And this comparison may lead us to see perhaps how to find an agreement with the intuitions behind the paceFeedRecursive or "Entry is a subclass of Feed" type proposals. Those proposals are put forward from the point of view of:
P3. Simple is beautiful
But perhaps the simplicity that is searched for there is a simplicity in the model. Indeed from a programmatic point of view nothings is quite as beautiful as a nice recursive algorithm. But perhaps we can have both points of views live happily together, and perhaps the rdf experience points out how to do this: by separating the syntax from the model.
Let us imagine we have a nice and simple model where for example a Feed is a subclass of an Entry. We could present this model very precisely in an OWL ontology in a recursive way.
But we could then limit the ways to write out this model with a Relax NG schema. Atom would then have 1. a simple model and 2. a simple syntax.
Perfection would then be had by making absolutely clear that the model is a model of the syntax allowed by the relaxng compliant document, by making sure the relaxng compliant document also be a rdf/xml document.
Henry Story http://bblfish.net/
[1] http://www.fakeroot.net/sw/rdf-formats-20040717/#rpv
On 1 Feb 2005, at 21:05, Antone Roundy wrote:
On Tuesday, February 1, 2005, at 06:08 AM, Henry Story wrote:
...
Without taking the trouble to purchase and read the book you pointed to, here is my reasoning:
Stable paths to the elements of a feed. Greatest simplicity--certainly the way that I implement my code, these are the simplest.Antone Roundy wrote:
My preferences:
+1: Current draft or PaceAggregationDocument (with or without atom:feed/atom:head and with or without metadata for atom:aggregation (atom:aggregation/atom:head?))
Less stable paths to elements since you don't know in advance whether the entries will be in the outermost feed, or whether some or all of them will be inside another feed layer.+0.5: PaceFeedRecursive without any more indirection than we already have, and only one level of recursion
I think we've discussed this one enough--RDF adds overhead that I don't value. Others do. I don't.-0.8: Real RDF
I don't want to have to deal with the added complexity of potentially unlimited recursion, nor do I see value in allowing it. Sure, it can show you the long list of feeds that an entry traversed to get from its original feed to the current feed, but for those who value that more than I do, there MUST be a better way to do it.-1: PaceFeedRecursive as it stands (no extra indirection, but unlimited levels of recursion)
I'm not entirely sure what is intended by this, but it sounds like a combination of unlimited recursion and not even knowing whether and entry is an entry or a feed without examining it's attributes. I assume this is basically "a feed is an entry, so let's use the same element for both"?-1.5: "add an attribute to atom:entry that indicates whether it refers to an instance of entry or another feed"
Potentially unlimited recursion, and potentially significantly more connections required to get a feed. This may not be a big deal to applications that don't hand of HTML content to some widget for handling, and thus have to handle the details of loading images and such themselves, but for applications that do, it's much simpler to be able to get everything that they need to manipulate with one request and be done with it. We already have indirection for <content>, which I personally would be happier without. I'd like to avoid adding more.-2: PaceFeedRecursive w/ indirection at atom:feed, atom:entry, and atom:content
