Hello,
I am going through a document in which is defined a XML complex type(EventType) for handling events.
But the EventType does not have an associated namespace for it. All other complext types defined in the document have a namespace associated with them. So, I want to know whether is it mandatory to have the namespace associated with the complext type?
The sample schema is given below.
<xs:complexTy pe name="A">
<xs:simpleConte nt>
<xs:extension base="xs:string ">
<xs:attribute name="Role" type="xs:string " use="required"/>
</xs:extension>
</xs:simpleConten t>
</xs:complexType>
<xs:complexTy pe name="B">
<xs:sequence>
<xs:element name="Thumbprin t" type="Thumbprin tType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType >
<xs:element name="EventType ">
<xs:sequence>
<xs:element name="ClientCer tificate" type="ClientCer tificateType"/>
</xs:sequence>
</xs:complexType>
Any help would be great.
thankx & rgds,
ChandruBN.
I am going through a document in which is defined a XML complex type(EventType) for handling events.
But the EventType does not have an associated namespace for it. All other complext types defined in the document have a namespace associated with them. So, I want to know whether is it mandatory to have the namespace associated with the complext type?
The sample schema is given below.
<xs:complexTy pe name="A">
<xs:simpleConte nt>
<xs:extension base="xs:string ">
<xs:attribute name="Role" type="xs:string " use="required"/>
</xs:extension>
</xs:simpleConten t>
</xs:complexType>
<xs:complexTy pe name="B">
<xs:sequence>
<xs:element name="Thumbprin t" type="Thumbprin tType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType >
<xs:element name="EventType ">
<xs:sequence>
<xs:element name="ClientCer tificate" type="ClientCer tificateType"/>
</xs:sequence>
</xs:complexType>
Any help would be great.
thankx & rgds,
ChandruBN.
Comment