Parsing restrictions of complex XSD types