From 9743058a89b26423979ae653706be4d29f6b2723 Mon Sep 17 00:00:00 2001 From: Josh Micich Date: Mon, 26 Oct 2009 19:08:54 +0000 Subject: [PATCH] simplified code copied from xalan (in r829781) to bare minimum required by XSSFImportFromXML git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@829903 13f79535-47bb-0310-9956-ffa450edef68 --- .../poi/xssf/extractor/XSSFImportFromXML.java | 110 +++++++++---- .../org/apache/xml/utils/PrefixResolver.java | 72 --------- .../xml/utils/PrefixResolverDefault.java | 147 ------------------ 3 files changed, 81 insertions(+), 248 deletions(-) delete mode 100644 src/ooxml/java/org/apache/xml/utils/PrefixResolver.java delete mode 100644 src/ooxml/java/org/apache/xml/utils/PrefixResolverDefault.java diff --git a/src/ooxml/java/org/apache/poi/xssf/extractor/XSSFImportFromXML.java b/src/ooxml/java/org/apache/poi/xssf/extractor/XSSFImportFromXML.java index e3ddc3fb74..854dc305bb 100644 --- a/src/ooxml/java/org/apache/poi/xssf/extractor/XSSFImportFromXML.java +++ b/src/ooxml/java/org/apache/poi/xssf/extractor/XSSFImportFromXML.java @@ -39,16 +39,15 @@ import org.apache.poi.xssf.usermodel.XSSFMap; import org.apache.poi.xssf.usermodel.XSSFRow; import org.apache.poi.xssf.usermodel.helpers.XSSFSingleXmlCell; import org.apache.poi.xssf.usermodel.helpers.XSSFXmlColumnPr; -import org.apache.xml.utils.PrefixResolver; -import org.apache.xml.utils.PrefixResolverDefault; import org.w3c.dom.Document; +import org.w3c.dom.Element; +import org.w3c.dom.NamedNodeMap; import org.w3c.dom.Node; import org.w3c.dom.NodeList; import org.xml.sax.InputSource; import org.xml.sax.SAXException; /** - * * Imports data from an external XML to an XLSX according to one of the mappings * defined.The output XML Schema must respect this limitations: *