trans-coord-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

trans-coord/gnun/server/gnun ChangeLog NEWS gnu...


From: Ineiev
Subject: trans-coord/gnun/server/gnun ChangeLog NEWS gnu...
Date: Mon, 27 Dec 2021 05:43:48 -0500 (EST)

CVSROOT:        /sources/trans-coord
Module name:    trans-coord
Changes by:     Ineiev <ineiev> 21/12/27 05:43:48

Modified files:
        gnun/server/gnun: ChangeLog NEWS gnun-validate-html.in 
        gnun/server/gnun/doc: web-trans.texi 

Log message:
        * gnun-validate-html.in: Check error output of xmllint as well as its 
exit code.
        * doc/web-trans.texi (Unreviewed Translations): Minor clarification.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/ChangeLog?cvsroot=trans-coord&r1=1.503&r2=1.504
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/NEWS?cvsroot=trans-coord&r1=1.156&r2=1.157
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/gnun-validate-html.in?cvsroot=trans-coord&r1=1.25&r2=1.26
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/doc/web-trans.texi?cvsroot=trans-coord&r1=1.89&r2=1.90

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/ChangeLog,v
retrieving revision 1.503
retrieving revision 1.504
diff -u -b -r1.503 -r1.504
--- ChangeLog   16 Dec 2021 11:11:15 -0000      1.503
+++ ChangeLog   27 Dec 2021 10:43:47 -0000      1.504
@@ -1,3 +1,10 @@
+2021-12-27  Pavel Kharitonov  <ineiev@gnu.org>
+
+       * gnun-validate-html.in: Check error output of xmllint as well as
+       its exit code.
+       * doc/web-trans.texi (Unreviewed Translations): Minor clarification.
+       * NEWS: Update.
+
 2021-12-16  Pavel Kharitonov  <ineiev@gnu.org>
 
        * doc/web-trans.texi (SSI) <server/html5-header.html,

Index: NEWS
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/NEWS,v
retrieving revision 1.156
retrieving revision 1.157
diff -u -b -r1.156 -r1.157
--- NEWS        12 Dec 2021 17:33:20 -0000      1.156
+++ NEWS        27 Dec 2021 10:43:47 -0000      1.157
@@ -1,5 +1,13 @@
 GNUnited Nations NEWS - User visible changes.
 
+* Changes in GNUnited Nations 1.3 (????-??-??)
+
+** Bugs fixed in 1.3
+
+*** Sometimes xmllint exits with zero code even when it finds some
+    kinds of errors; the new version of 'gnun-validate-html' checks
+    error output of xmllint to detect such cases.
+
 * Changes in GNUnited Nations 1.2 (2021-12-12)
 
 ** When validating HTML, SSI variable expansion is closer to Apache behavior.

Index: gnun-validate-html.in
===================================================================
RCS file: 
/sources/trans-coord/trans-coord/gnun/server/gnun/gnun-validate-html.in,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- gnun-validate-html.in       12 Dec 2021 17:33:20 -0000      1.25
+++ gnun-validate-html.in       27 Dec 2021 10:43:47 -0000      1.26
@@ -229,8 +229,13 @@
 set +e
 @XMLLINT@ --path "$DTD" $VALIDATE --nonet --noout "${OUTPUT}" 2> $TMP2
 LINTSTATUS=$?
+@SED@ -i '/^I\/O error : Attempt to load network entity/d' $TMP2
 set -e
 
+if test -s $TMP2; then
+  LINTSTATUS=17
+fi
+
 # Parse xmllint's error output (if any) and print it by inserting
 # additional context line after every occurrence of "line X" where X
 # is a decimal number.  It is helpful to show the contents of those

Index: doc/web-trans.texi
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/doc/web-trans.texi,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -b -r1.89 -r1.90
--- doc/web-trans.texi  16 Dec 2021 11:11:15 -0000      1.89
+++ doc/web-trans.texi  27 Dec 2021 10:43:47 -0000      1.90
@@ -791,8 +791,8 @@
 Sometimes a translation (typically your own) is not reviewed by anyone
 else for a fairly long time.  This is unfortunate, but there is no
 reason to keep it in draft state forever.  If nobody reviewed it for a
-substantially long period (like 3 or 4 months), commit it as it is.
-Readers may report bugs as well (and they do!).
+substantially long period (like 3 or 4 months), review it yourself and
+commit it as it is.  Readers may report bugs as well (and they do!).
 
 It is important to record somehow that this published translation still
 lacks appropriate review.  If the suggestion in the previous section is



reply via email to

[Prev in Thread] Current Thread [Next in Thread]