[Debian-handbook-translators] zh-CN build failure in weblate git help

xiao sheng wen(肖盛文) xsw at atzlinux.com
Fri Nov 6 08:35:42 GMT 2020


在 2020/11/6 下午3:47, Petter Reinholdtsen 写道:
> [xiao sheng wen(肖盛文)]
>> Beginning work on zh-CN
>> DTD Validation failed for
>> '/home/atzlinux/debian-handbook/tmp/zh-CN/xml/debian-handbook.xml':
>> 11_network-services.xml:2295: validity error : Element indexterm content
>> does not follow the DTD, expecting (primary? , ((secondary , ((tertiary
>> , (see | seealso+)?) | see | seealso+)?) | see | seealso+)?), got
>> (primary see CDATA)
>> ERROR: failed to build HTML output for zh-CN
> [...]
>> Is there anybody would  tell me how to debug more?
> Sure.  The error above report that there is
> "<primary>text1</primary><see>text2</see>text3" somewhere, while the
> docbook standard state that text3 can not bee there (designated CDATA in
> the (primary see CDATA) sequence.  Searching for 'primary see' in the
> zh-CN translation on Weblate led me to this broken entry:
>
>   "<primary>CIFS</primary><see>Common Internet File System</see>(公用因
>   特网文件系统)"
>
> The trailing text need to move inside the <primary> or <see> block.

Yes, you are right!

After I update this entry as your said, zh-CN build SUCCESS!

>
> I fixed one of these earlier when pulling the weblate changes into salsa
> earlier, so this is not the first such issue.  Then I moved the triling
> text into the <see> block.  Perhaps a solution also here.

Thanks again!


xiao sheng wen




More information about the Debian-handbook-translators mailing list