0
在我的XML架構我有如下定義:XSD驗證錯誤:XS的使用:任何XS:元素
<xs:element name="otherResultData">
<xs:any processContents="lax" minOccurs="0" />
</xs:element>
這將給驗證錯誤:
The content of 'otherResultData' must match (annotation?, (simpleType | complexType)?, (unique | key | keyref)*)). A problem was found starting at: any.
是否有辦法將其定義爲:「這裏可以有任何內容,但是如果可以在此XSD中找到這些類型,那麼它們是有效的」?