Parser error of readme.xds in conglomerate 0.9.1
Michèle Garoche <[email protected]> Wed, 22 Jun 2005 13:56:14 +0200
| Newsgroups | gmane.editors.conglomerate.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello,
I've just noticed that there is a slight problem in dispspecs/=20
readme.xds, entirely my fault.
I did not noticed it before, because there was no translation of this =20=
readme in en_CA.
1 - Error shown when starting conglomerate:
Entity: line 8: parser error : Attribute xml:lang redefined
<description xml:lang=3D"en_CA" xml:lang=3D"en">This is =
=20
a document type associated
^
** (conglomerate:20172): WARNING **: Problem parsing xds file: =20
readme.xds.
2 - Reason:
There is an erroneous description field on line 5 in dispspecs/=20
readme.xds.in:
<_description xml:lang=3D"en">This is a document type =20
associated with the "readme" file distributed with the initial =20
prototype of Conglomerate.</_description>
which generates in dispspecs/readme.xds:
<description xml:lang=3D"en">This is a document type associated with =20
the "readme" file distributed with the initial prototype of =20
Conglomerate.</description>
Hence the duplicated definition of xml:lang when reaching the en_CA =20
translation
It should have been:
<_description>This is a document type associated with the =20
"readme" file distributed with the initial prototype of =20
Conglomerate.</_description>
which generates in dispspecs/readme.xds:
<description>This is a document type associated with the "readme" =20
file distributed with the initial prototype of Conglomerate.</=20
description>
and further when reaching en_CA:
<description xml:lang=3D"en_CA">This is a document type associated with =20=
the "readme" file distributed with the initial prototype of =20
Conglomerate.</description>
3 - Cure
Remove the xml:lang=3D"en" part of <_description> on line 5 in =20
dispspecs/readme.xds.in
Sorry again.
Cheers,
Mich=E8le
<http://micmacfr.homeunix.org>