[xml/sgml-commit] r1316 - in /packages/xmlto/trunk/debian: changelog patches/00list patches/483503_postvalid_needs_noent.dpatch

dleidert-guest at users.alioth.debian.org dleidert-guest at users.alioth.debian.org
Sun Jan 25 19:35:12 UTC 2009


Author: dleidert-guest
Date: Sun Jan 25 19:35:12 2009
New Revision: 1316

URL: http://svn.debian.org/wsvn/debian-xml-sgml/?sc=1&rev=1316
Log:
* debian/patches/483503_postvalid_needs_noent.dpatch: Added.
  - xmlto.in: xmllints --postvalid switch needs the --noent switch
    to substitute entity values and avoid 'references an unknown ID'
    errors (closes: #483503). Thanks to Daniel Burrows for the
    report.

Added:
    packages/xmlto/trunk/debian/patches/483503_postvalid_needs_noent.dpatch   (with props)
Modified:
    packages/xmlto/trunk/debian/changelog
    packages/xmlto/trunk/debian/patches/00list

Modified: packages/xmlto/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/xmlto/trunk/debian/changelog?rev=1316&op=diff
==============================================================================
--- packages/xmlto/trunk/debian/changelog (original)
+++ packages/xmlto/trunk/debian/changelog Sun Jan 25 19:35:12 2009
@@ -1,6 +1,11 @@
 xmlto (0.0.20-5) UNRELEASED; urgency=low
 
   * NOT RELEASED YET
+  * debian/patches/483503_postvalid_needs_noent.dpatch: Added.
+    - xmlto.in: xmllints --postvalid switch needs the --noent switch
+      to substitute entity values and avoid 'references an unknown ID'
+      errors (closes: #483503). Thanks to Daniel Burrows for the
+      report.
 
  -- Daniel Leidert (dale) <daniel.leidert at wgdd.de>  Sun, 25 Jan 2009 19:19:54 +0100
 

Modified: packages/xmlto/trunk/debian/patches/00list
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/xmlto/trunk/debian/patches/00list?rev=1316&op=diff
==============================================================================
--- packages/xmlto/trunk/debian/patches/00list (original)
+++ packages/xmlto/trunk/debian/patches/00list Sun Jan 25 19:35:12 2009
@@ -1,3 +1,4 @@
 format_fo_passivetex_check
 xmlto_libpaper_173090
 499200_cannot_parse_XSLTPARAMS
+483503_postvalid_needs_noent

Added: packages/xmlto/trunk/debian/patches/483503_postvalid_needs_noent.dpatch
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/xmlto/trunk/debian/patches/483503_postvalid_needs_noent.dpatch?rev=1316&op=file
==============================================================================
--- packages/xmlto/trunk/debian/patches/483503_postvalid_needs_noent.dpatch (added)
+++ packages/xmlto/trunk/debian/patches/483503_postvalid_needs_noent.dpatch Sun Jan 25 19:35:12 2009
@@ -1,0 +1,29 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 483503_postvalid_needs_noent.dpatch by Daniel Leidert (dale) <daniel.leidert at wgdd.de>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: * xmlto.in: The xmllint call uses --pistvalid switch, which may not try to
+## DP:   fetch external parsed entities and therefor can lead to errors:
+## DP:
+## DP:       IDREF attribute linkend references an unknown ID
+## DP:
+## DP:   Adding the --noent switch solves the issue.
+## DP:
+## DP: <URL:http://bugs.debian.org/483503>
+## DP: <URL:http://mail.gnome.org/archives/xml/2004-December/msg00062.html>
+
+ at DPATCH@
+diff -urNad trunk~/xmlto.in trunk/xmlto.in
+--- trunk~/xmlto.in	2009-01-25 20:25:00.000000000 +0100
++++ trunk/xmlto.in	2009-01-25 20:25:44.000000000 +0100
+@@ -413,8 +413,8 @@
+ then
+   VALIDATION="${XSLT_PROCESSED_DIR}/validation-errors"
+   [ "$VERBOSE" -ge 1 ] && \
+-    echo >&2 "xmllint >/dev/null --xinclude --postvalid \"$INPUT_FILE\""
+-  xmllint >/dev/null --xinclude --postvalid "$INPUT_FILE" 2>"${VALIDATION}"
++    echo >&2 "xmllint >/dev/null --xinclude --postvalid --noent \"$INPUT_FILE\""
++  xmllint >/dev/null --xinclude --postvalid --noent "$INPUT_FILE" 2>"${VALIDATION}"
+   xmllint_status=$?
+   if [ $xmllint_status -ne 0 ]
+   then

Propchange: packages/xmlto/trunk/debian/patches/483503_postvalid_needs_noent.dpatch
------------------------------------------------------------------------------
    svn:executable = *




More information about the debian-xml-sgml-commit mailing list