W3C home > Mailing lists > Public > xmlschema-dev@w3.org > December 2001

qname resolution question

From: Takuki Kamiya <takuki@pacbell.net>
Date: Thu, 27 Dec 2001 22:04:21 -0500 (EST)
Message-ID: <000f01c18f4c$8f1d67c0$d501510a@iona.com>
To: <xmlschema-dev@w3.org>
Hi,

I am wondering if the following schema is valid or not.
Both XSV and xerces passes validation with it.

What is the namespace name for the "documentBody"
qname below? Is it "http://www.w3.org/2001/XMLSchema",
or is it none (as targetNamespace is not provided)?

Thanks in advance.


<?xml version ="1.0"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema" >

  <element name = "envelope">
    <complexType>
      <sequence>
        <element ref = "documentBody"/>
      </sequence>
    </complexType>
  </element>

  <element name = "documentBody" type="anyType"/>
  
</schema>

-taki
Received on Saturday, 29 December 2001 06:17:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:25 GMT