← Prev in month ← Prev in thread

qname resolution question

From
Takuki Kamiya <>
To
Date
2001-12-28T21:59:24Z
ID
<001701c18fea$ea2e8100$>
Thread
qname resolution question
Hi,

I am wondering if the following schema is valid or not.
(I tend to think it is invalid.)

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>

-Takuki Kamiya
← Prev in month ← Prev in thread