|
[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Element + complextype name in xml schema
From: Kasimier Buchcik <kbuchcik@4commerce.de>
Date: Fri, 08 Apr 2005 20:50:02 +0200 To: Michael Kay <mike@saxonica.com> Cc: Nicolas Mailhot <nicolas.mailhot@laposte.net>, XML-SCHEMA <xmlschema-dev@w3.org> Message-Id: <1112986202.11240.1.camel@librax> Hi, On Fri, 2005-04-08 at 19:43 +0100, Michael Kay wrote: > > I've been sent an xsd that uses the following construct : > > > > <xsi:element name="foo"> > > <xsi:complexType name="foo"> > > > > Is this something allowed ? > > No, it's not. A complex type defined anywhere except at the top level must > be anonymous. > > I'm afraid I can't see immediately where the spec says this but I'm sure it > does. It does in the schema for schema: <xs:complexType name="localComplexType"> [...] <xs:attribute name="name" use="prohibited"/> KasimierReceived on Friday, 8 April 2005 18:50:18 GMT |
Subscribe in XML format
|






