[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: well-formedness error




Tom Myers wrote:


 >........ I think I would like to be able to use
 > text/xml rather than just application/atom+xml for cases like...

and Sam Ruby wrote:.

you can achieve the same affect using "application/xml".

I presume you mean "application/atom+xml", since that's what was being discussed as a requirement? Thanks--that's reassuring.

No, I meant "application/xml".


As I see it:

1) Use of "application/xml" should be accompanied by atom:label and an XML processing instruction involving a stylesheet.

2) Use of "application/atom+xml" should not be accompanied by an atom:lable or an XML processing instruction involving a stylesheet.

3) Use of "text/xml" should generally be avoided.

Furthermore, use of the charset parameter on the content-type header is entirely optional; but if present, the value specified should match the encoding an XML parser would infer if only the Byte-Order Mark and encoding declaration were used (if present) to determine the character encoding.

- Sam Ruby