Export XmlUtil and make registerType and getTypeInfo resolve pointer