[libgsf] add new odf namespaces



commit ad99d3254c5735523dc081b9e23c773b1de19851
Author: Andreas J. Guelzow <aguelzow pyrshep ca>
Date:   Sun May 10 11:33:39 2009 -0600

        add new odf namespaces
    
        2009-05-10  Andreas J. Guelzow <aguelzow pyrshep ca>
    
        	* gsf/gsf-opendoc-utils.h: add new namespace enumeration
        	  constants
        	* gsf/gsf-opendoc-utils.c (gsf_ooo_ns): add new namespaces
---
 ChangeLog               |    6 ++++++
 NEWS                    |    3 +++
 gsf/gsf-opendoc-utils.c |    6 ++++++
 gsf/gsf-opendoc-utils.h |    7 ++++++-
 4 files changed, 21 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index e3cc41d..dbcee4c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-05-10  Andreas J. Guelzow <aguelzow pyrshep ca>
+
+	* gsf/gsf-opendoc-utils.h: add new namespace enumeration
+	  constants
+	* gsf/gsf-opendoc-utils.c (gsf_ooo_ns): add new namespaces 
+
 2009-05-06  Morten Welinder <terra gnome org>
 
 	* configure.in : post release bump
diff --git a/NEWS b/NEWS
index 6b95d80..463323e 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,8 @@
 libgsf 1.14.14
 
+Andreas:
+	* Added namesopaces used by openoffice 3.0
+
 --------------------------------------------------------------------------
 libgsf 1.14.13
 
diff --git a/gsf/gsf-opendoc-utils.c b/gsf/gsf-opendoc-utils.c
index ecd044b..1a688db 100644
--- a/gsf/gsf-opendoc-utils.c
+++ b/gsf/gsf-opendoc-utils.c
@@ -84,6 +84,12 @@ GsfXMLInNS gsf_ooo_ns[] = {
 	GSF_XML_IN_NS (OO_NS_XFORMS,	"http://www.w3.org/2002/xforms";),
 	GSF_XML_IN_NS (OO_NS_XSD,	"http://www.w3.org/2001/XMLSchema";),
 	GSF_XML_IN_NS (OO_NS_XSI,	"http://www.w3.org/2001/XMLSchema-instance";),
+
+	/* OOo 3.0.x */
+	GSF_XML_IN_NS (OO_NS_OF,        "urn:oasis:names:tc:opendocument:xmlns:of:1.2"),
+
+	GSF_XML_IN_NS (OO_NS_RPT,       "http://openoffice.org/2005/report";),
+	GSF_XML_IN_NS (OO_NS_RDFA,      "http://docs.oasis-open.org/opendocument/meta/rdfa#";),
 	{ NULL, 0 }
 };
 
diff --git a/gsf/gsf-opendoc-utils.h b/gsf/gsf-opendoc-utils.h
index 37e3508..7c6e2ad 100644
--- a/gsf/gsf-opendoc-utils.h
+++ b/gsf/gsf-opendoc-utils.h
@@ -58,7 +58,12 @@ enum {
 	OO_NS_XSD,
 	OO_NS_XSI,
 
-	OO_NS_PRESENT	/* added in gsf-1.14.8 */
+	OO_NS_PRESENT,	/* added in gsf-1.14.8 */
+
+	/* new in 3.0 */
+	OO_NS_RPT,
+	OO_NS_OF,
+	OO_NS_RDFA
 };
 
 extern GsfXMLInNS gsf_ooo_ns[];



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