diff options
author | Javen O'Neal <onealj@apache.org> | 2017-07-14 03:39:25 +0000 |
---|---|---|
committer | Javen O'Neal <onealj@apache.org> | 2017-07-14 03:39:25 +0000 |
commit | 8d912c745ced21ea161d748d3d4e0f1de35eee60 (patch) | |
tree | 747707f85d9d54dd8995a287daff89df3bd41641 /src/ooxml | |
parent | 2367c77710d2fa51d17df58becc871fe47fc5d42 (diff) | |
download | poi-8d912c745ced21ea161d748d3d4e0f1de35eee60.tar.gz poi-8d912c745ced21ea161d748d3d4e0f1de35eee60.zip |
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
Diffstat (limited to 'src/ooxml')
-rw-r--r-- | src/ooxml/java/org/apache/poi/openxml4j/opc/internal/PackagePropertiesPart.java | 4 |
1 files 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 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'"; |