Date: prev next · Thread: first prev next last
2014 Archives by date, by thread · List index


On Tue, Jan 07, 2014 at 05:27:13PM +0100, Michael Stahl wrote:
On 07/01/14 17:18, Lionel Elie Mamane wrote:

commit 4933d0578e73130d9b06a849139934d952338155
Author: Lionel Elie Mamane <lionel@mamane.lu>
Date:   Sat Dec 21 10:41:51 2013 +0100

    ODB ODF standard conformance: xlink:href needs xlink:type

diff --git a/dbaccess/source/filter/xml/xmlExport.cxx b/dbaccess/source/filter/xml/xmlExport.cxx
index f1b9350..d66ec0c 100644
--- a/dbaccess/source/filter/xml/xmlExport.cxx
+++ b/dbaccess/source/filter/xml/xmlExport.cxx
@@ -651,6 +651,7 @@ void ODBExport::exportConnectionData()
             else
             {
                 AddAttribute(XML_NAMESPACE_XLINK, XML_HREF,sValue);
+                AddAttribute(XML_NAMESPACE_XLINK, XML_TYPE, XML_SIMPLE);
                 SvXMLElementExport aElem(*this,XML_NAMESPACE_DB, XML_CONNECTION_RESOURCE, 
sal_True, sal_True);
             }
         }
@@ -861,6 +862,7 @@ void ODBExport::exportComponent(XPropertySet* _xProp)
         sValue = "reports/" + sValue;
 
     AddAttribute(XML_NAMESPACE_XLINK, XML_HREF,sValue);
+    AddAttribute(XML_NAMESPACE_DB, XML_TYPE, XML_SIMPLE);

should this not be XML_NAMESPACE_XLINK ?

Yes. Thanks for the review. Fixed.

-- 
Lionel

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.