After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 358944 - Distcheck fails because of syntax errors
Distcheck fails because of syntax errors
Status: RESOLVED FIXED
Product: l10n
Classification: Infrastructure
Component: Spanish [es]
git master
Other Linux
: Normal normal
: ---
Assigned To: Spanish translation team
Javier F. Serrador
Depends on:
Blocks:
 
 
Reported: 2006-10-02 09:27 UTC by Bastien Nocera
Modified: 2006-10-02 19:29 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bastien Nocera 2006-10-02 09:27:56 UTC
In Totem HEAD, cd to help/es:
$ xmllint --noout --noent --path es:../../help/es --xinclude --postvalid totem.xml
totem.xml:306: element inlinemediaobject: validity error : Element inlinemediaobject content does not follow the DTD, expecting (objectinfo? , (videoobject | audioobject | imageobject) , (videoobject | audioobject | imageobject | textobject)*), got (placeholder-1)
totem.xml:306: element placeholder-1: validity error : No declaration for element placeholder-1
totem.xml:306: element placeholder-2: validity error : No declaration for element placeholder-2
totem.xml:312: element para: validity error : Element placeholder-1 is not declared in para list of possible children
totem.xml:312: element placeholder-1: validity error : No declaration for element placeholder-1
totem.xml:340: element phrase: validity error : Element placeholder-1 is not declared in phrase list of possible children
totem.xml:340: element placeholder-1: validity error : No declaration for element placeholder-1
totem.xml:346: element phrase: validity error : Element placeholder-1 is not declared in phrase list of possible children
totem.xml:346: element placeholder-1: validity error : No declaration for element placeholder-1
Document totem.xml does not validate

It looks like we're missing screenshots.
Comment 1 Javier F. Serrador 2006-10-02 19:29:02 UTC
xmllint --noout --noent --path es:../../help/es --xinclude --postvalid totem.xml
totem.xml:286: element title: validity error : Element title is not declared in title list of possible children
totem.xml:702: element term: validity error : Element term is not declared in term list of possible children
Document totem.xml does not validate

You should regenerate totem.xml translation using xml2po -p es.po -o totem.xml ../C/totem.xml from 'es' directory and delete the translation from cvs.

These errors seem have been introduced by the way earlier xml2po did the segmentation. 

I have commited a new es.po file that fixes all errors, but I think you should generate the translated xml files during compile time.