Eric Scheid wrote:
'direct child' .. are you thinking there might be multiple direct children
of atom:content, like this:

   <link rel="schema" href="..." for="foo" />
   <link rel="schema" href="..." for="bar" />
   <atom:content type="application/xml+something">
       <foo:blarg>...</foo:blarg>
       <bar:blarg>...</bar:blarg>
   </atom:content>

Is that legal? In the processing model for XML media types, RFC4287 says "this would normally mean that the atom:content element would contain a single child element", which kind of implies that it might, under certain conditions, contain more than one. But I don't see how.

RFC3023 puts me to sleep, so I may have misunderstood something, but I got the impression that +xml media types were specifically reserved for actual XML documents (the whole point is a common processing model is it not?). And a well-formed XML document, by definition, has exactly one root element. So what am I missing?

Regards
James

Reply via email to