xsd - Cannot resolve the name X to an element declaration component in a recursive xml schema -
i'm beginning working xml schemas. i'm creating simple schema , don't understand why error while trying implement simple recursive element. i'm sure it's totally trivial. here following error: e [xerces] src-resolve: cannot resolve name 'node' a(n) 'element declaration' component. <?xml version="1.0" encoding="utf-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/xmlschema" elementformdefault="qualified"> <xs:element name="root"> <xs:complextype> <xs:sequence> <xs:element name="node"> <xs:complextype> <xs:sequence> <xs:element ref="node" /> </xs:sequence> </xs:complextype> </xs:element> </xs:sequence> </xs: