         }
         
         func parserDidStartDocument(_ parser: XMLParser) {
-            trace("parserDidStartDocument")
+//            trace("parserDidStartDocument")
             chars = ""
         }
         
         func parserDidEndDocument(_ parser: XMLParser) {
-            trace("parserDidEndDocument")
+//            trace("parserDidEndDocument")
         }
         
         func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String] = [:]) {
-            trace("didStartElement \(elementName)")
+//            trace("didStartElement \(elementName)")
             depth += 1
             chars = ""
             switch elementName {

        }
        
        func parser(_ parser: XMLParser, didEndElement elementName: String, namespaceURI: String?, qualifiedName qName: String?) {
            trace("didEndElement \(elementName)")
            depth -= 1
            switch elementName {
            case "result":

                    error = SerializationError.parsingError("Found <binding> without associated binding name during SRX parsing")
                    return
                }
//                trace("  [name=\(v)]")
                bindingName = v
            case "literal":
                allowCharacterData = true
                if let dt = attributeDict["datatype"] {
//                    trace("  [datatype=\(dt)]")
                    termType = .datatype(TermDataType(stringLiteral: dt))
                } else if let lang = attributeDict["xml:lang"] {
//                    trace("  [xml:lang=\(lang)]")
                    termType = .language(lang)
                } else {
                    termType = .datatype(.string)
