[Standards-JIG] JEP 60: Most Recent Items defined?

Peter Saint-Andre stpeter at jabber.org
Fri May 20 22:30:19 UTC 2005

On Fri, May 20, 2005 at 03:32:49PM -0700, Chris Mullins wrote:
> [Requiring Document Order parsing for Node Items]
> PSa Wrote:
> > Well, if the JEP specifies this, then it specifies how an 
> > implementation must parse XML nodes, and that seems problematic 
> > to me -- especially since it is possible that the order of 
> > child elements could be changed en route (e.g., by an 
> > intermediate router).
> Defining the node 'age' as being in Document Order seems a fairly
> reasonable requirement. DOM preserves this, SAX preserves this, and all
> sorts of things (such as XPath) require it to be preserved. So while it
> could be changed by a router in the middle, it's pretty unlikely.
> Alternativly, if multiple items are being published at once, we could
> require an age attribute:



> > Naturally the compliance test could simply say that the concept 
> > of "most recent item" is ambiguous in these cases, no?
> Except that it will frustrate clients as well as compliance tests. A
> customer may build an implementation on top of a specific pubsub
> implementation, and then be unable to switch to a different
> implementation due to this. 

So publish discrete items rather than multiple items at once if you
really want this functionality.

But this is not a hill for me to die on. Perhaps my esteemed co-authors
or other implementors have an opinion in the matter.


More information about the Standards mailing list