Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Mar 2019 12:27:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        doc@FreeBSD.org
Subject:   [Bug 224903] [textproc/itstool] upgrade from 2.0.2 to 2.0.5
Message-ID:  <bug-224903-9-JHSKyrrHP5@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-224903-9@https.bugs.freebsd.org/bugzilla/>
References:  <bug-224903-9@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224903

Danilo G. Baio <dbaio@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dbaio@freebsd.org,
                   |                            |doc@FreeBSD.org

--- Comment #11 from Danilo G. Baio <dbaio@freebsd.org> ---
Hi.

Another issue after this update is with FreeBSD translations.

There is a `make tran` command which do this:
@${ITSTOOL} -l ${PO_LANG} -m ${PO_LANG}.mo -o ${DOC}.xml ${DOC}.translate.x=
ml


~/temp_zanata/doc_svn_https/pt_BR.ISO8859-1/articles/bsdl-gpl> make tran
~/temp_zanata/doc_svn_https/pt_BR.ISO8859-1/articles/bsdl-gpl> svn diff
Index: article.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- article.xml (revision 52873)
+++ article.xml (working copy)
@@ -5,8 +5,8 @@
   <info><title>Por que voc=C3=AA deve usar uma licen=C3=A7a de estilo BSD =
em seu Projeto
Open Source</title>

     <authorgroup>
-=20=20=20=20=20
<author><personname><firstname>Bruce</firstname><surname>Montague</surname>=
</personname><affiliation>
<address><email>brucem@alumni.cse.ucsc.edu</email>
-          </address> </affiliation></author>
+=20=20=20=20=20
<author><personname><firstname>Bruce</firstname><surname>Montague</surname>=
</personname><affiliation>
<default:address
xmlns=3D"http://docbook.org/ns/docbook"><email>brucem@alumni.cse.ucsc.edu</=
email>
+          </default:address> </affiliation></author>
     </authorgroup>


So we get these errors when it breaks the build:

namespace error : Namespace prefix default on address is not defined
element default:address: validity error : No declaration for attribute xmln=
s of
element default:address
element affiliation: validity error : Element affiliation content does not
follow the DTD, expecting (shortaffil? , jobtitle* , (org? | (orgname? ,
orgdiv* , address*))), got (default:address )
...


Reinstalling itstool-2.0.2_2 fixed this.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-224903-9-JHSKyrrHP5>