         parser.shouldProcessNamespaces = false
         parser.shouldReportNamespacePrefixes = false
         parser.shouldResolveExternalEntities = false
-        
-        guard parser.parse() else {
-            guard let error = parseError else { fatalError("XML parsing exception !") }
+        parser.parse()
+        if let error = parseError {
             throw error
         }
     }

    public var root:XML?
    public let data:Data
    
    var currentParent:XML?
    var currentElement:XML?
    var parseError:Swift.Error?
    
    public init(data: Data) {
        self.data = data

                             namespaceURI: String?,
                             qualifiedName qName: String?)
    {
        currentElement = currentElement?.parent
    }
    
    @objc public func parser(_ parser: XMLParser, parseErrorOccurred parseError: Swift.Error) {
