[Yanel-dev] New XMLDB repository
Michael Wechner
michael.wechner at wyona.com
Tue Feb 13 08:31:51 CET 2007
Andreas Wuest wrote:
> Hi
>
> On 12.2.2007 22:43 Uhr, Michael Wechner wrote:
>
>> Andreas Wuest wrote:
>>
>>> Hi
>>>
>>> On 12.2.2007 21:02 Uhr, Michael Wechner wrote:
>>>
>>>> This is also because one should use application/xml and not text/xml
>>>
>>>
>>>
>>> No, the reason is the following:
>>
>>
>>
>> thanks for clarifying, but let me make sure that I understand what
>> that means:
>>
>> mime-type=text/xml but no charset
>>
>> AND
>>
>> <?xml encoding="UTF-8"?>
>>
>> means encoding="us-ascii", right?
>>
>> But in the case of mime-type=application/xml the XML declaration is
>> authoritative also when the charset header is missing?
>
>
> Exactly, yes! You understood it correctly.
>
so I would say we should definitely use only "application/xml" and avoid
"text/xml" as good as we can.
Cheers
Michi
--
Michael Wechner
Wyona - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
michael.wechner at wyona.com michi at apache.org
+41 44 272 91 61
More information about the Yanel-development
mailing list