You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Antonio Gallardo <ag...@agssa.net> on 2004/12/09 04:34:31 UTC

Re: svn commit: r111262 - in cocoon/branches/BRANCH_2_1_X/src: java/org/apache/cocoon/components/flow webapp/WEB-INF

On Mie, 8 de Diciembre de 2004, 18:03, Leszek Gawron dijo:
> Antonio Gallardo wrote:
>> On Mie, 8 de Diciembre de 2004, 5:47, lgawron@apache.org dijo:
>>
>>>Author: lgawron
>>>Date: Wed Dec  8 03:47:12 2004
>>>New Revision: 111262
>>>
>>>URL: http://svn.apache.org/viewcvs?view=rev&rev=111262
>>
>>
>> ...
>>
>>>   cocoon/branches/BRANCH_2_1_X/src/webapp/WEB-INF/cocoon.xconf
>>>---
>>>cocoon/branches/BRANCH_2_1_X/src/webapp/WEB-INF/cocoon.xconf	(original)
>>>+++ cocoon/branches/BRANCH_2_1_X/src/webapp/WEB-INF/cocoon.xconf	Wed Dec
>>>8 03:47:12 2004
>>>@@ -1,4 +1,4 @@
>>>-<?xml version="1.0" encoding="UTF-8"?>
>>>+<?xml version="1.0" encoding="UTF-8"?>
>>
>>
>>   ^^^^^
>>   |||||
>>
>>   What is that? Please, be carefull next time. :-D
>>
>> Best Regards,
>>
>> Antonio Gallardo.
>>
> This is BOM (byte ordering mark). It is being written by some of xml
> editors to the beginning of the multibyte encoded (i.e. utf-8) xml file.
> The file I commited is a valid xml. Check in any xml editor/browser.
>
> The question is do we allow BOMs in xml files? If not I will have to
> look for a way to disable the feature for cocoon files.

AFAIK, BOMs are not allowed in the repository. But if you think we need
that, we can start a vote. I was reading:

http://www.zvon.org/tmRFC/RFC3023/Output/chapter8.html#sub1

WDYT?

Best Regards,

Antonio Gallardo