cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <va...@reverycodes.com>
Subject Re: svn commit: r111262 - in cocoon/branches/BRANCH_2_1_X/src: java/org/apache/cocoon/components/flow webapp/WEB-INF
Date Fri, 10 Dec 2004 13:59:16 GMT
Antonio Gallardo wrote:
> On Jue, 9 de Diciembre de 2004, 2:49, Leszek Gawron dijo:
> 
>>Bertrand Delacretaz wrote:
>>
>>>Le 9 déc. 04, à 09:21, Leszek Gawron a écrit :
>>>
>>>>...By the way: it is a little bit different on win32. Some tools
>>>>detect utf encoding by checking for BOM. If there is none - ANSI
>>>>encoding is assumed...
>>>
>>>AFAIU this is ok for 16-bit based encodings, not for UTF-8.
>>>
>>http://www.xencraft.com/resources/unicodebom.html
...
>>
>>M$ again.
> 
> This is the standard:
> 
> http://www.zvon.org/tmRFC/RFC3023/Output/chapter8.html#sub1 :-D

No, it's not. The standard is:
   http://www.w3c.org/TR/2004/REC-xml11-20040204/#NT-XMLDecl

XML *must* start with '<?xml'. So no MS junk of any kind is allowed. Please 
don't use notepad - vim and far both have syntax highlight and do not write boms 
of any kind :)

Vadim

Mime
View raw message