@@ -51,6 +51,7 @@ instance FromDom AnyXmlBasetype where
51 "Basetype" -> TheXmlBasetype <$> fromDom
51 "Basetype" -> TheXmlBasetype <$> fromDom
52 "Ext2" -> TheXmlExt2 <$> fromDom
52 "Ext2" -> TheXmlExt2 <$> fromDom
53 "Ext1" -> TheXmlExt1 <$> fromDom
53 "Ext1" -> TheXmlExt1 <$> fromDom
54+ _ -> throwParserError (PEOther "Unexpected type")
55instance ToXML AnyXmlBasetype where
56instance ToXML AnyXmlBasetype where
56 toXML (TheXmlBasetype a) = toXML a
57 toXML (TheXmlBasetype a) = toXML a