tadija / AEXML

Swift minion for simple and lightweight XML parsing
MIT License
1.01k stars 200 forks source link

XML incomplete parsing #163

Closed srinadh-k closed 3 years ago

srinadh-k commented 4 years ago

Hi, I have the following XML in Data class.

<?xml version="1.0" encoding="UTF-8"?>

RptPerDescCode 15 Yearly 96 Summary 13 Quarterly 96 Summary DescCode 17 Yearly 964 Summary 134 Quarterly 964 Summary

I am trying to convert the above Data object to AEXMLDocument for xml and it is missing few elements.

let data = try Data(contentsOf: url) let xmlDoc = try AEXMLDocument(xml: data) Print.print("VCD Downloaded Doc is.... (xmlDoc.xml)")

Can you please check it?