XSD: XML files pass validation, but so do XSLs and XSDs
问题 So there's an XSD schema that validates a data file. It declares root element of the document, and then go complexType 's that describe structure. The schema has empty target namespace, document nodes are not supposed to be qualified with a namespace. Recently someone by mistake sent an XSL template in place of an XML data file. That xsl passed validation no problem and was therefore directed to the XSLT processor. Result was basically the free-form text found in the validated XSL. We then