[Debian-handbook-translators] DTD Validation failed ?

Patrick Kox patrick.kox at proximus.be
Sun Jun 11 11:10:28 UTC 2017


Hi Raphael,

Sorry for the late reply (had some migraines),
but thanks ! That solved my issues.

Thanks

Patrick

Raphael Hertzog schreef op vr 09-06-2017 om 14:15 [+0200]:
> Hi Patrick,
> 
> On Fri, 09 Jun 2017, Patrick Kox wrote:
> > I'm using the build script from the git repository to verify my
> > translations before uploading them to weblate, this allows me to
> > fix
> > some of my errors.
> 
> Good thing!
> 
> > 06_apt.xml:982: validity error : Element keycombo content does not
> > follow the DTD, expecting (keycap | keycombo | keysym |
> > mousebutton)+,
> > got (CDATA)
> 
> This means that you have <keycombo>some text</keycombo> instead
> of <keycombo><keycap>some text</keycap></keycombo> for example.
> 
> CDATA means "text" (and thus not a tag). The text after "expecting"
> shows you what is allowed within the tag. In this case, it's a series
> of one or more keycap/keysym/mousebutton.
> 
> > 06_apt.xml:1158: validity error : Element menuchoice content does
> > not
> > follow the DTD, expecting (shortcut? , (guibutton | guiicon |
> > guilabel
> > > guimenu | guimenuitem | guisubmenu | interface)+), got (CDATA
> > > guimenu
> > 
> > CDATA guisubmenu)
> 
> Again you have <menuchoice>text <guimenu>…</guimenu> text
> <guisubmenu>…</guisubmenu></menuchoice>
> instead of 
> <menuchoice><guimenu>topmenu</guimenu>
> <guisubmenu>submenu</guisubmenu></menuchoice>
> 
> > So I'm gussing this is a typo, but how do I find the corresponding
> > string to fix this ?
> 
> You can look at the files in tmp/nl-NL/{xml,xml_tmp}/06_apt.xml on
> line 1158,
> it should help you find the corresponding string.
> 
> > The answer is probably in 06_apt.xml:982: but what is the 982 ? a
> > line,
> > or something ?
> 
> A line, yes, in the temporary file created in tmp/nl-NL/
> 
> Cheers,
-- 
⢀⣴⠾⠻⢶⣦⠀ 
⣾⠁⢠⠒⠀⣿⡁ 	Kind Regards | Met Vriendelijke Groeten
⢿⡄⠘⠷⠚⠋⠀ 	Patrick Kox
⠈⠳⣄⠀⠀		patrick.kox at proximus.be


Digitaly signed with my FSFe Smartcard
GPG Key ID: 4096R/4EDAC41C
Fingerprint: F327 3448 6151 17C8 5BDE  045E 971A 98CA 4EDA C41C

Discover the Debian Administrator's Handbook:
→ https://debian-handbook.info/get/Ontdek het Debian Beheerders Handboek:
→ https://debian-handbook.info/get/

Public key download : https://patrickkox.be/patrickkox.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/debian-handbook-translators/attachments/20170611/80d18dfa/attachment.sig>


More information about the Debian-handbook-translators mailing list