Apache OpenOffice (AOO) Bugzilla – Issue 112473
[xmloff] RDFa export broken in case of SaveAs
Last modified: 2010-07-29 10:29:22 UTC
the way the RDFa export converts URIs from absolute to relative is broken. it used to work in OOo 3.2, but relied on the base URI for the document being stored being the same as the base URI of the loaded document, which led to other problems and was thus fixed for OOo 3.2.1 by mav. now the base URI on saveAs is the URI of the target document, and is thus different from the URI of the loaded document. this leads to wrong relative URIs in RDFa attributes: document-internal URIs point into the loaded document, not the target document. the complex test in sfx2 breaks because of this problem. apparently the relative/absolute URI infrastructure in xmloff doesn't really work for document-internal URIs anyway.
.
fixed in cws sb123: http://hg.services.openoffice.org/hg/cws/sb123/rev/6d78dd57ade2
now also fixed in cws sw33bf06: http://hg.services.openoffice.org/hg/cws/sw33bf06/rev/6d78dd57ade2
verified in cws sw33bf06 (complex test)