On 6/12/06 3:52 PM, "James M Snell" <[EMAIL PROTECTED]> wrote:
> Not necessarily. Sure, it might be the same parser code, but not > necessarily the same bit of code using the parser. Look at the way > Firefox, IE7, Bloglines, Liferea, etc all handle (or don't handle) Entry > documents versus Feed documents. The majority of applications that most > frequently handle Atom Feed Documents have no idea how to deal with Atom > Entry Documents and I would wager that most applications that understand > how to process Atom Entry Documents and Atom Feed Documents typically > don't fall into the same category as most feed readers. If an agent found an entry document, should it assume that it's a feed with one entry (so far) and allocate resources accordingly (ie. allow for cardinality of n++)? If an agent found an entry document, and then later returned to find a feed containing multiple entries, would it consider that a problem? Would an agent finding multiple atom:content elements inside the one entry consider that a problem (other than it being a spec violation)? Are XML processors optimised for the fact that any given attribute can only occur once per element, and not twice or more .. eg. <foo attr="1" attr="2" /> ? e.