From 0a18068f0ccc56ebb280d400bb13a0620fba9e2d Mon Sep 17 00:00:00 2001 From: Javen O'Neal Date: Fri, 14 Jul 2017 03:39:25 +0000 Subject: [PATCH] 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 --- .../poi/openxml4j/opc/internal/PackagePropertiesPart.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 7e513e51c..b1ea4f359 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'";