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 2005/04/11 15:36:23 UTC

Re: svn commit: r160865 - cocoon/branches/BRANCH_2_1_X/src/blocks/ojb/conf/repository_database.x ml cocoon/branches/BRANCH_2_1_X/src/blocks/ojb/conf/repository_internal.x ml cocoon/branches/BRANCH_2_1_X/src/blocks/ojb/conf/repository_user.xml

On Lun, 11 de Abril de 2005, 6:54, cziegeler@apache.org dijo:
> Author: cziegeler
> Date: Mon Apr 11 04:54:28 2005
> New Revision: 160865
>
> URL: http://svn.apache.org/viewcvs?view=rev&rev=160865
> Log:
> Add missing encoding
> -<?xml version="1.0"?>
> +<?xml version="1.0" encoding="UTF-8"?>

AFAIK, UTF-8 is the default XML encoding. It is defined in the w3c specs.

Best Regards,

Antonio Gallardo

Re: svn commit: r160865 - cocoon/branches/BRANCH_2_1_X/src/blocks/ojb/conf/repository_database.x ml cocoon/branches/BRANCH_2_1_X/src/blocks/ojb/conf/repository_internal.x ml cocoon/branches/BRANCH_2_1_X/src/blocks/ojb/conf/repository_user.xml

Posted by Carsten Ziegeler <cz...@apache.org>.
Giacomo Pati wrote:
>>>I just tried out the OJB samples in 2.1.x and I got an xml parsing
>>>exception from the different repository_*.xml files that are included
>>>through entities. Explicitly adding the encoding in the included files
>>>fixed the error.
>>
>>Weird? Is another winbugs? ;-)
> 
> 
> Seem like. I've never had any problems in regard of encoding.
> 
I've never encountered this problem before; but today it appeared and
adding the encoding solved the problem. Strange, but explicitly telling
the encoding shouldn't hurt.

Carsten

-- 
Carsten Ziegeler - Open Source Group, S&N AG
http://www.s-und-n.de
http://www.osoco.org/weblogs/rael/

Re: svn commit: r160865 - cocoon/branches/BRANCH_2_1_X/src/blocks/ojb/conf/repository_database.x ml cocoon/branches/BRANCH_2_1_X/src/blocks/ojb/conf/repository_internal.x ml cocoon/branches/BRANCH_2_1_X/src/blocks/ojb/conf/repository_user.xml

Posted by Giacomo Pati <gi...@apache.org>.
On Mon, Apr 11, 2005 at 09:00:09AM -0500, Antonio Gallardo wrote:
> On Lun, 11 de Abril de 2005, 8:57, Carsten Ziegeler dijo:
> > Antonio Gallardo wrote:
> >> On Lun, 11 de Abril de 2005, 6:54, cziegeler@apache.org dijo:
> >>
> >>>Author: cziegeler
> >>>Date: Mon Apr 11 04:54:28 2005
> >>>New Revision: 160865
> >>>
> >>>URL: http://svn.apache.org/viewcvs?view=rev&rev=160865
> >>>Log:
> >>>Add missing encoding
> >>>-<?xml version="1.0"?>
> >>>+<?xml version="1.0" encoding="UTF-8"?>
> >>
> >>
> >> AFAIK, UTF-8 is the default XML encoding. It is defined in the w3c
> >> specs.
> >>
> > I just tried out the OJB samples in 2.1.x and I got an xml parsing
> > exception from the different repository_*.xml files that are included
> > through entities. Explicitly adding the encoding in the included files
> > fixed the error.
> 
> Weird? Is another winbugs? ;-)

Seem like. I've never had any problems in regard of encoding.

-- 
Giacomo Pati
Otego AG, Switzerland - http://www.otego.com
Orixo, the XML business alliance - http://www.orixo.com

Re: svn commit: r160865 - cocoon/branches/BRANCH_2_1_X/src/blocks/ojb/conf/repository_database.x ml cocoon/branches/BRANCH_2_1_X/src/blocks/ojb/conf/repository_internal.x ml cocoon/branches/BRANCH_2_1_X/src/blocks/ojb/conf/repository_user.xml

Posted by Antonio Gallardo <ag...@agssa.net>.
On Lun, 11 de Abril de 2005, 8:57, Carsten Ziegeler dijo:
> Antonio Gallardo wrote:
>> On Lun, 11 de Abril de 2005, 6:54, cziegeler@apache.org dijo:
>>
>>>Author: cziegeler
>>>Date: Mon Apr 11 04:54:28 2005
>>>New Revision: 160865
>>>
>>>URL: http://svn.apache.org/viewcvs?view=rev&rev=160865
>>>Log:
>>>Add missing encoding
>>>-<?xml version="1.0"?>
>>>+<?xml version="1.0" encoding="UTF-8"?>
>>
>>
>> AFAIK, UTF-8 is the default XML encoding. It is defined in the w3c
>> specs.
>>
> I just tried out the OJB samples in 2.1.x and I got an xml parsing
> exception from the different repository_*.xml files that are included
> through entities. Explicitly adding the encoding in the included files
> fixed the error.

Weird? Is another winbugs? ;-)

Best Regards,

Antonio Gallardo.



Re: svn commit: r160865 - cocoon/branches/BRANCH_2_1_X/src/blocks/ojb/conf/repository_database.x ml cocoon/branches/BRANCH_2_1_X/src/blocks/ojb/conf/repository_internal.x ml cocoon/branches/BRANCH_2_1_X/src/blocks/ojb/conf/repository_user.xml

Posted by Carsten Ziegeler <cz...@apache.org>.
Antonio Gallardo wrote:
> On Lun, 11 de Abril de 2005, 6:54, cziegeler@apache.org dijo:
> 
>>Author: cziegeler
>>Date: Mon Apr 11 04:54:28 2005
>>New Revision: 160865
>>
>>URL: http://svn.apache.org/viewcvs?view=rev&rev=160865
>>Log:
>>Add missing encoding
>>-<?xml version="1.0"?>
>>+<?xml version="1.0" encoding="UTF-8"?>
> 
> 
> AFAIK, UTF-8 is the default XML encoding. It is defined in the w3c specs.
> 
I just tried out the OJB samples in 2.1.x and I got an xml parsing
exception from the different repository_*.xml files that are included
through entities. Explicitly adding the encoding in the included files
fixed the error.

Carsten
-- 
Carsten Ziegeler - Open Source Group, S&N AG
http://www.s-und-n.de
http://www.osoco.org/weblogs/rael/