由於某種原因,我一直無法得到它的工作。我總是得到亞馬遜的迴應,說we are unable to process the xml feed because one or more items are invalid。我參考了schema以及來自various,other,posts的xml。 實施例下面用XML潛在的敏感信息替換 <?xml version="1.0" encoding="UTF-
我想驗證一個XML字符串對兩個包含XSD的字符串。一個XSD包含另一個。我收到錯誤: 「無法將名稱'ServiceSpecificationSchema:ServiceIdentifier'解析爲(n)'類型定義'組件。」 看起來,我的代碼無法識別第二個XSD文件。其他人通過使用LSResourceResolver(見這裏:How to validate an XML file using Jav