rascal
                                
                                 rascal copied to clipboard
                                
                                    rascal copied to clipboard
                            
                            
                            
                        `lang::xml::IO.readXML` is missing a validation feature
Describe the bug
- add an alternative readXML(type[&T] expected, loc src)andreadXML(type[&T] expected, src src)
- use the grammar to call vf.constructor(..)rather thanvf.nodewhere possible and throw exceptions if the xml does not fit the grammar
- similar to lang::json::IO