Skip to content

Commit 3ddd397

Browse files
committed
Testgeneration after PAPXmlParser changed successful
1 parent 97d1824 commit 3ddd397

File tree

2 files changed

+389
-24
lines changed

2 files changed

+389
-24
lines changed

Sources/LStXML2Code/PAPXmlParser.swift

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,7 @@ class PAPXmlParser : NSObject, XMLParserDelegate {
3838
print (elementName)
3939
node.setName(elementName)
4040
node.addAttributes (attributeDict)
41-
// add node to tree
42-
43-
/* Bereits in init Methode erledigt !
44-
if let current = self.currentNode {
45-
current.add(child: node)
46-
}
47-
*/
41+
// add node to tree over init nothing todo
4842
// set node as current
4943
self.currentNode = node
5044
}

0 commit comments

Comments
 (0)