[gnumeric] xlsx: don't complain over "ext" elements.



commit 1ab37569dcbc01567e12ba8774eb57da5e9bb9b7
Author: Morten Welinder <terra gnome org>
Date:   Mon Apr 14 11:16:15 2014 -0400

    xlsx: don't complain over "ext" elements.
    
    They're a fact of life; we'll have to deal with the contents when we
    discover something we need there.

 NEWS                      |    3 +++
 plugins/excel/ChangeLog   |    4 ++++
 plugins/excel/xlsx-read.c |    2 ++
 3 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/NEWS b/NEWS
index 37cb9aa..06df652 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,8 @@
 Gnumeric 1.12.15
 
+Morten:
+       * For xlsx, don't complain over "ext" elements.
+
 --------------------------------------------------------------------------
 Gnumeric 1.12.14
 
diff --git a/plugins/excel/ChangeLog b/plugins/excel/ChangeLog
index a466a11..3741f5f 100644
--- a/plugins/excel/ChangeLog
+++ b/plugins/excel/ChangeLog
@@ -1,3 +1,7 @@
+2014-04-14  Morten Welinder  <terra gnome org>
+
+       * xlsx-read.c (xlsx_ext_begin): Don't complain over "ext".
+
 2014-04-13  Morten Welinder <terra gnome org>
 
        * Release 1.12.14
diff --git a/plugins/excel/xlsx-read.c b/plugins/excel/xlsx-read.c
index de2d440..dcbfe7a 100644
--- a/plugins/excel/xlsx-read.c
+++ b/plugins/excel/xlsx-read.c
@@ -3051,9 +3051,11 @@ xlsx_ext_begin (GsfXMLIn *xin, xmlChar const **attrs)
        gboolean warned = FALSE;
        for (; attrs != NULL && attrs[0] && attrs[1] ; attrs += 2)
                if (0 == strcmp (attrs[0], "uri")) {
+#if 0
                        xlsx_warning (xin,
                                      _("Encountered uninterpretable \"ext\" extension in namespace \"%s\""),
                                      attrs[1]);
+#endif
                        warned = TRUE;
                }
        if (!warned)


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