Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 xml 的标头中有一个模式位置。xsd 不接受 xml 中的模式位置。我收到以下错误。
SchemaLocation:SchemaLocation Value = 'http://localhost/test/ns/test.xsd' 必须有偶数个 URI
尝试
xsi:schemaLocation="http://localhost/test/ http://localhost/test/ns/test.xsd"
schemalocation 需要 2 个值(=偶数):namespaceuri + xsdlocation