W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > July to September 2000

declaration with 'type' attribute must not have nested type declaration

From: Joseph M. Reagle Jr. <reagle@w3.org>
Date: Mon, 10 Jul 2000 16:25:20 -0400
Message-Id: <>
To: www-xml-schema-comments@w3.org

I don't understand this error (can we not have our own ds:type element or attribute?); which part of the schema spec addresses this?


http://policy.w3.org/WD-xmldsig-core-20000711/xmldsig-core-schema.xsd:148:11: Error: declaration with 'type' attribute must not have nested type declaration

 <element name="RetrievalMethod">
  <complexType content="elementOnly">
   <sequence minOccurs="1" maxOccurs="1">
     <element name="Location" type="uriReference" minOccurs="1" maxOccurs="1" /> 
     <element name="Method" type="string" minOccurs="1" maxOccurs="1" /> 
     <element ref="ds:Type" minOccurs="1" maxOccurs="1" /> 
    <attribute name="Encoding" type="uriReference" use="optional" /> 

 <element name="Type" type="string">
  <complexType content="mixed">
   <any namespace="##any" minOccurs="1" maxOccurs="unbounded" /> 
   <attribute name="Encoding" type="uriReference" use="optional" /> 

Joseph Reagle Jr.   
W3C Policy Analyst                mailto:reagle@w3.org
IETF/W3C XML-Signature Co-Chair   http://www.w3.org/People/Reagle/
Received on Monday, 10 July 2000 16:26:43 UTC

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