             push(.Node(.CodeVoice))
         case "Link":
             guard let href = attributeDict["href"] else {
-                error(.MissingRequiredAttribute(element: elementName, attribute: "href"))
+                handleError(.MissingRequiredAttribute(element: elementName, attribute: "href"))
                 push(.Other)
                 return
             }

            }
        case .ResultDiscussion:
            guard resultDiscussion == nil else {
                error(.MoreThanOneElement(element: elementName))
                return
            }
            resultDiscussion = top.nodes

        stack[stack.count - 1].kind = state
    }

    func handleError(error: SwiftDocXMLError) {
        guard parseError == nil else {
            return
        }
