GNOME Bugzilla – Bug 570890
Missing expression namespace?
Last modified: 2009-06-24 08:49:33 UTC
When opeing a file (to be atttached) create with OpenOffice3.0 teh following error appears: Sheet1!E1 : Missing expression namespace? and the corresponding formula is not being imported. As far as I can tell neither ODF 1.0 nor 1.1 require a namespace. We should check that.
Created attachment 128183 [details] sample ods file
ODF 1.0 certainly required an expression namespace, but conveniently forgot to define what it means. It is any prefix "foo:" on expressions. This is one of the absolutely hopeless parts of ODF. The prefix defines the meaning of the rest of the expression. In other words, I could invent an "ciremung:" namespace where all the function names were written reversed ("MUS", "RAV", etc.) The standard seems to expect all implementations to read that. Formulas in this file have an "of" prefix: "of:=FALSE()" "of:=VLOOKUP("MAYBE";[.C1:.C6];1;1)" We seem to expect "oooc:" as the prefix. So it's a bug in ODF that we need to work around.
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
of: will be the openformula prefix. I think we can expect that ODF 1.2 will have that namespace as default so we should probably starting to assume that if there is no namespace mentioned, that it is of: Andreas
*** Bug 586828 has been marked as a duplicate of this bug. ***