0
としてXML文字列私は私が達成しようとしているこれは何の.xsdファイルXSD - 値
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="request">
<xs:complexType>
<xs:sequence>
<xs:element type="xs:string" name="fileName"/>
<xs:element type="xs:string" name="configuration"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
を持っているが、私は値としてXML文字列を使用してXMLを渡すことができるということです。
<request><fileName>kek.xml</fileName><configuration>"<xmlstring>some value</xmlstring>"</configuration></request>
しかし、XSDは私に次のエラーを与えている:
要素「の構成は、」シンプルなタイプですので、何の要素情報項目[子供]を持っていない必要があります。
助けていただけたら幸いです!