Hello mahesh,
In your first Schema, you are referencing RDF element from RDF Schema. Plus you are trying to add Description element in it, which is not required, as you are referencing RDF Element. Now if you want attribute “about” on Element RDF. You can add the reference in rdf Schema itself. As shown below,
<xs:element name = “RDF”>
<xs:complexType mixed = “true”>
xs:sequence
<xs:element name = “Description”>
xs:complexType
<xs:choice minOccurs = “0” maxOccurs = “unbounded”>
<xs:element ref = “dc:title”></xs:element>
<xs:element ref = “ncsp:filename”></xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute ref = “rdf:about”></xs:attribute>
</xs:complexType>
</xs:element>
Thanks,
Prashant Jedhe
#API-Management#webMethods#Tamino