[libvirt] [PATCH] news.rng: work around a bug in old libxml2

Ján Tomko jtomko at redhat.com
Tue Apr 4 07:05:58 UTC 2017


Similar to commit c3c2cc6, use a literal newsline instead of \n
inside the brackets.
---
Pushed as a build fix.

 docs/schemas/news.rng | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/docs/schemas/news.rng b/docs/schemas/news.rng
index ec4313f..a633e22 100644
--- a/docs/schemas/news.rng
+++ b/docs/schemas/news.rng
@@ -45,7 +45,9 @@
     <element name="change">
       <element name="summary">
         <data type="string">
-          <param name="pattern">\n[^\n]+\n +</param>
+          <!-- Use literal newline instead of \n for bug in libxml2 2.7.6 -->
+          <param name="pattern">\n[^
+]+\n +</param>
         </data>
       </element>
       <optional>
-- 
2.10.2




More information about the libvir-list mailing list