
10 Mar
2011
10 Mar
'11
2:58 p.m.
On Thu, Mar 10, 2011 at 2:30 PM, ibtisam jamal <ibty.jamal@gmail.com> wrote:
Then i fail to validate the second part.Im getting an error at type ="jobdescription" <xs:complexType name="companyname" type="jobdescripton"> <xs:sequence> <xs:element name="Jobone" type="xs:string"/> <xs:element name="Jobtwo" type="xs:string"/> <xs:element name="Jobthree" type="xs:string"/> </xs:sequence> </xs:complexType>
"type" attribute is wrong on xs:complexType -- the complexType is a composite type by itself. so you cant define a type attribute on that.