Ver código fonte

fix compile error

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1812531 13f79535-47bb-0310-9956-ffa450edef68
tags/REL_4_0_0_FINAL
Javen O'Neal 6 anos atrás
pai
commit
3a7e3846d5

+ 2
- 1
src/ooxml/java/org/apache/poi/xssf/extractor/XSSFExportToXml.java Ver arquivo

@@ -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)) {

Carregando…
Cancelar
Salvar