fix compile error
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1812531 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
42c4e4909c
commit
49add35f3b
@ -485,7 +485,8 @@ public class XSSFExportToXml implements Comparator<String>{
|
||||
NodeList list = localComplexTypeRootNode.getChildNodes();
|
||||
String complexTypeName = "";
|
||||
|
||||
for(final Node node : list) {
|
||||
for(int i=0; i<list.getLength(); i++) {
|
||||
final Node node = list.item(i);
|
||||
if ( node instanceof Element && "element".equals(node.getLocalName())) {
|
||||
Node nameAttribute = getNameOrRefElement(node);
|
||||
if (nameAttribute.getNodeValue().equals(elementNameWithoutNamespace)) {
|
||||
|
Loading…
Reference in New Issue
Block a user