XSD#validate() accepts Source instead of XML
documented
doc
snapshot