From 8d912c745ced21ea161d748d3d4e0f1de35eee60 Mon Sep 17 00:00:00 2001 From: Javen O'Neal Date: Fri, 14 Jul 2017 03:39:25 +0000 Subject: bug 61296: consolidate some of the ooxml namespace uri copy-paste in POI, prepare to make these usable by downstream libraries like Tika git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1801903 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/poi/openxml4j/opc/internal/PackagePropertiesPart.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ooxml') diff --git a/src/ooxml/java/org/apache/poi/openxml4j/opc/internal/PackagePropertiesPart.java b/src/ooxml/java/org/apache/poi/openxml4j/opc/internal/PackagePropertiesPart.java index 7e513e51c8..b1ea4f359c 100644 --- a/src/ooxml/java/org/apache/poi/openxml4j/opc/internal/PackagePropertiesPart.java +++ b/src/ooxml/java/org/apache/poi/openxml4j/opc/internal/PackagePropertiesPart.java @@ -45,11 +45,11 @@ import org.apache.poi.util.LocaleUtil; public final class PackagePropertiesPart extends PackagePart implements PackageProperties { - public final static String NAMESPACE_DC_URI = "http://purl.org/dc/elements/1.1/"; + public final static String NAMESPACE_DC_URI = PackageProperties.NAMESPACE_DC; public final static String NAMESPACE_CP_URI = PackageNamespaces.CORE_PROPERTIES; - public final static String NAMESPACE_DCTERMS_URI = "http://purl.org/dc/terms/"; + public final static String NAMESPACE_DCTERMS_URI = PackageProperties.NAMESPACE_DCTERMS; private final static String DEFAULT_DATEFORMAT = "yyyy-MM-dd'T'HH:mm:ss'Z'"; -- cgit v1.2.3