summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng4
-rw-r--r--xmloff/source/text/txtflde.cxx3
2 files changed, 4 insertions, 3 deletions
diff --git a/schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng b/schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng
index ccf6cc9f6541..f0f84bd3fd40 100644
--- a/schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng
+++ b/schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng
@@ -3212,8 +3212,8 @@ xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.
<rng:name>text:issn</rng:name>
<rng:name>loext:local-url</rng:name>
<!-- TODO no proposal -->
- <rng:name>text:target-url</rng:name>
- <rng:name>text:use-target-url</rng:name>
+ <rng:name>loext:target-url</rng:name>
+ <rng:name>loext:use-target-url</rng:name>
</rng:choice>
<rng:ref name="string"/>
</rng:attribute>
diff --git a/xmloff/source/text/txtflde.cxx b/xmloff/source/text/txtflde.cxx
index 71093e61420a..67e9137cc615 100644
--- a/xmloff/source/text/txtflde.cxx
+++ b/xmloff/source/text/txtflde.cxx
@@ -2713,7 +2713,8 @@ void XMLTextFieldExport::ProcessBibliographyData(
sStr = GetExport().GetRelativeReference(sStr);
}
sal_uInt16 nPrefix = XML_NAMESPACE_TEXT;
- if (eElement == XML_LOCAL_URL)
+ if (eElement == XML_LOCAL_URL || eElement == XML_TARGET_URL
+ || eElement == XML_USE_TARGET_URL)
{
nPrefix = XML_NAMESPACE_LO_EXT;
}