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
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format