[Bug 224903] [textproc/itstool] upgrade from 2.0.2 to 2.0.5

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Mar 17 12:27:57 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224903

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

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

--- Comment #11 from Danilo G. Baio <dbaio at 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.xml


~/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
===================================================================
--- article.xml (revision 52873)
+++ article.xml (working copy)
@@ -5,8 +5,8 @@
   <info><title>Por que você deve usar uma licença de estilo BSD em seu Projeto
Open Source</title>

     <authorgroup>
-     
<author><personname><firstname>Bruce</firstname><surname>Montague</surname></personname><affiliation>
<address><email>brucem at alumni.cse.ucsc.edu</email>
-          </address> </affiliation></author>
+     
<author><personname><firstname>Bruce</firstname><surname>Montague</surname></personname><affiliation>
<default:address
xmlns="http://docbook.org/ns/docbook"><email>brucem at 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 xmlns 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.

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


More information about the freebsd-doc mailing list