[gnumeric] add some commentary regarding validation failures



commit 5c3590b4ddbde7fad0a4311c9ab7615d56cd32bd
Author: Andreas J Guelzow <aguelzow pyrshep ca>
Date:   Tue Aug 14 23:08:22 2012 -0600

    add some commentary regarding validation failures

 plugins/excel/xlsx-write-docprops.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plugins/excel/xlsx-write-docprops.c b/plugins/excel/xlsx-write-docprops.c
index 6e4c458..d66229d 100644
--- a/plugins/excel/xlsx-write-docprops.c
+++ b/plugins/excel/xlsx-write-docprops.c
@@ -377,6 +377,8 @@ xlsx_write_docprops_core (XLSXWriteState *state, GsfOutfile *root_part, GsfOutfi
 		(docprops_dir, "core.xml",
 		 "application/vnd.openxmlformats-package.core-properties+xml",
 		 root_part,
+/* According to 15.2.12.1 this ought to be  "http://schemas.openxmlformats.org/officedocument/2006/relationships/metadata/core-properties"; */
+/* but this is what MS Office apparently writes. As a side effect this makes us fail strict validation */
 		 "http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties";);
 	GsfXMLOut *xml = gsf_xml_out_new (part);
 	GsfDocMetaData *meta = go_doc_get_meta_data (GO_DOC (state->base.wb));



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