[www-xml-schema-comments] <none>

    While Checking an .XSD file with IBM SchemaQualityChecker, i get
numerous errors , all of which are of the same type, i:e

   " The reference ObjRef( /* which is a ComplexType element in my .XSD file
uses the empty string as its prefix . But there is no namespace declaration
which associates the empty string
with a namespace .
     To fix the problem, you may add the attribute "xmlns" in the root
element <<schema>>"

Now my <<schema>> looks like this.


And a possible source of error reference is contained in the below lines:

  <xsd:complexType name="ObjRef">
   <xsd:attribute name="ref" type="xsd:anyURI" use="required" />
   <xsd:attribute name="role" type="xsd:NMTOKEN" />

  <xsd:complexType name="NamedObjRef">
   <xsd:extension base="ObjRef">
    <xsd:attribute name="name" type="xsd:NMTOKEN" />

Could Anyone suggest the remedy for this ?
I would be utterly thankful
Gaurav Kathotia 

Received on Friday, 29 March 2002 14:49:40 UTC