- From: Roger L. Costello <costello@mitre.org>
- Date: Thu, 01 Mar 2001 09:08:03 -0500
- To: xmlschema-dev@w3.org, costello@mitre.org
Hi Folks, Below is a no-namespace schema that declares an element "root". The content of "root" is a ref to an element "foo". However, this schema does not provide a declaration for "foo" (the idea is that a schema which <include>s this schema will provide a declaration for "foo"). Is this dangling ref legal? <?xml version="1.0"?> <xsd:schema xmlns:xsd="http://www.w3.org/2000/10/XMLSchema" elementFormDefault="qualified"> <xsd:complexType name="root"> <xsd:sequence> <xsd:element ref="foo"/> </xsd:sequence> </xsd:complexType> </xsd:schema> /Roger
Received on Thursday, 1 March 2001 09:01:02 UTC