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 19:40:06 -0800
Message-ID: <001f01c18f51$57fe4890$d501510a@iona.com>
To: <xmlschema-dev@w3.org>

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">
        <element ref = "documentBody"/>

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

Received on Thursday, 27 December 2001 22:37:40 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:54 UTC