我在xml的头中有一个schemalocation。xsd不接受xml中的架构位置。我得到以下错误。
SchemaLocation:SchemaLocation值='http://localhost/test/ns/test.xsd'必须具有偶数URI的
尝试
xsi:schemaLocation="http://localhost/test/http://localhost/test/ns/test.xsd"
schemalocation需要两个值(=偶数):namespaceuri+xsdlocation