XInclude Schema/Namespace Validation?
问题 I'm trying to use XML Includes to help manage a large XML structure that needs to be usable by both humans and machines. But am experiencing a myriad of problems when trying to construct XML files that can be validated against an existing schema. Here's a simplified example of what I'm trying to do. My "main.xml" file does not validate. <?xml version="1.0" encoding="UTF-8"?> <!-- Main.xml - This fails to validate. --> <ns1:main xsi:schemaLocation="http://www.example.com/main main.xsd" xmlns