K
kk
I can't figure out why XMLSpy can't validate pass the following schema
segment:
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="http://www.mydomain.com/myschema"
xmlns:myns="http://www.mydomain.com/myschema"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
elementFormDefault="qualified">
<xs:element name="TestElement" type="myns:TestElementType"/>
<xs:complexType name="TestElementType">
<xs:sequence>
<xs:element name="Digest" type="myns:MsgImprintType"/>
<xs:sequence>
</xs:complexType>
<xs:complexType name="MsgImprintType">
<xs:sequence>
<xs:element name="HashedMessage" type="ds
igestValueType"/>
<xs:element name="Algorithm" type="ds
igestMethodType"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
XMLSpy always stops at ds
igestValueType and complains it's a schema error.
It claims "undefined value for 'type' encountered".
Why can't XMLSpy validate this one? This seems to be very straight forward
to me.
thanks for any help.
segment:
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="http://www.mydomain.com/myschema"
xmlns:myns="http://www.mydomain.com/myschema"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
elementFormDefault="qualified">
<xs:element name="TestElement" type="myns:TestElementType"/>
<xs:complexType name="TestElementType">
<xs:sequence>
<xs:element name="Digest" type="myns:MsgImprintType"/>
<xs:sequence>
</xs:complexType>
<xs:complexType name="MsgImprintType">
<xs:sequence>
<xs:element name="HashedMessage" type="ds
<xs:element name="Algorithm" type="ds
</xs:sequence>
</xs:complexType>
</xs:schema>
XMLSpy always stops at ds
It claims "undefined value for 'type' encountered".
Why can't XMLSpy validate this one? This seems to be very straight forward
to me.
thanks for any help.