adapt schema parser to the new XmlObject api