W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > January to March 2002

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

From: Gaurav Kathotia <gauravka@in.ibm.com>
Date: Fri, 29 Mar 2002 07:00:47 -0700
Message-Id: <>
To: W3C XML Schema Comments list <www-xml-schema-comments@w3.org>
    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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:49:59 UTC