S
Stephan Wehner
If an XSD schema file says
<xs:simpleType name="EXAMPLETYPE">
<xs:restriction base="xs:string">
<xs:minLength value="4"></xs:minLength>
<xs:maxLength value="4"></xs:maxLength>
</xs:restriction>
</xs:simpleType>
:
:
<xs:element maxOccurs="1" minOccurs="1" name="EXAMPLE"
type="EXAMPLETYPE"/>
:
:
is this excerpt from an XML file valid with respect to the XSD:
:
:
<EXAMPLE><![CDATA[]]><![CDATA[1234]]></EXAMPLE>
:
:
assuming this:
:
:
<EXAMPLE><![CDATA[1234]]></EXAMPLE>
:
:
is valid? Meaning can inserting an "empty" CDATA section (
<![CDATA[]]> ) change the validity?
Thanks
Stephan
<xs:simpleType name="EXAMPLETYPE">
<xs:restriction base="xs:string">
<xs:minLength value="4"></xs:minLength>
<xs:maxLength value="4"></xs:maxLength>
</xs:restriction>
</xs:simpleType>
:
:
<xs:element maxOccurs="1" minOccurs="1" name="EXAMPLE"
type="EXAMPLETYPE"/>
:
:
is this excerpt from an XML file valid with respect to the XSD:
:
:
<EXAMPLE><![CDATA[]]><![CDATA[1234]]></EXAMPLE>
:
:
assuming this:
:
:
<EXAMPLE><![CDATA[1234]]></EXAMPLE>
:
:
is valid? Meaning can inserting an "empty" CDATA section (
<![CDATA[]]> ) change the validity?
Thanks
Stephan