mirror of https://github.com/apache/poi.git
Change from XMLEventFactory.newFactory to XMLEventFactory.newInstance, for IBM JDK Compatibility, fixes #57622
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1661903 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2cdeca15e0
commit
723ef1fb7f
|
@ -34,15 +34,11 @@ import org.w3c.dom.Element;
|
|||
|
||||
/**
|
||||
* Package properties marshaller.
|
||||
*
|
||||
* @author CDubet, Julien Chable
|
||||
*/
|
||||
public class PackagePropertiesMarshaller implements PartMarshaller {
|
||||
|
||||
|
||||
private final static Namespace namespaceDC, namespaceCoreProperties, namespaceDcTerms, namespaceXSI;
|
||||
static {
|
||||
final XMLEventFactory f = XMLEventFactory.newFactory();
|
||||
final XMLEventFactory f = XMLEventFactory.newInstance();
|
||||
namespaceDC = f.createNamespace("dc", PackagePropertiesPart.NAMESPACE_DC_URI);
|
||||
namespaceCoreProperties = f.createNamespace("cp", PackagePropertiesPart.NAMESPACE_CP_URI);
|
||||
namespaceDcTerms = f.createNamespace("dcterms", PackagePropertiesPart.NAMESPACE_DCTERMS_URI);
|
||||
|
|
Loading…
Reference in New Issue