0
我有一個schemalocation在XML的頭。 xsd不接受xml中的schemalocation。我收到以下錯誤。XML中schemalocation沒有得到驗證對xsd
SCHEMALOCATION:SCHEMALOCATION值= 'HTTP://localhost/test/ns/test.xsd' 必須有URI的偶數
我有一個schemalocation在XML的頭。 xsd不接受xml中的schemalocation。我收到以下錯誤。XML中schemalocation沒有得到驗證對xsd
SCHEMALOCATION:SCHEMALOCATION值= 'HTTP://localhost/test/ns/test.xsd' 必須有URI的偶數
嘗試
xsi:schemaLocation="http://localhost/test/ http://localhost/test/ns/test.xsd"
的schemaLocation需要2個值(=偶數) :namespaceuri + xsdlocation