types.xsd를 가져 오는 main.xsd가 첨부되어 있습니다. XmlSpy (또는 이와 유사한)에서 이것을 열면 main.xsd는 정상적으로 유효성을 검사합니다. 그러나 네임 스페이스 접두사 ns0이 선언에서 제거 된 경우 접두사가 어디에도 사용되지 않더라도 유효성을 검사하지 않습니다.접두사없이 XSD가 유효하지 않습니다.
좋은 : <xs:schema xmlns:ns0="http://schemas.asidua.com/CCP/IntegrationServices/2011-11-18/Data"
나쁜 : <xs:schema xmlns="http://schemas.asidua.com/CCP/IntegrationServices/2011-11-18/Data"
검증 오류 메시지 : 접두사가 필요한 이유 "Cannot resolve declaration or definition 'ArrayOfString' in namespace 'http://schemas.asidua.com/CCP/IntegrationServices/2011-11-18/Data'"
사람 설명시겠습니까?
좋은 파일 : GoodMain.xsd 잘못된 파일 : BadMain.xsd 수입 유형의 xsd : 네임 스페이스 접두사 ns0
어디서나 사용하지 않을 경우 Types.xsd
내가 그래서 NS0 접두사를 추가하여 –