- From: Brenda Bell <bbell@juicesoftware.com>
- Date: Fri, 26 Jul 2002 18:20:12 -0400
- To: "Xmlschema-Dev@W3. Org (E-mail)" <xmlschema-dev@w3.org>
Received on Friday, 26 July 2002 18:16:53 UTC
I've encountered a schema that looks like this: <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.mydomain.com/types" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.mydomain.com/types"> <complexType name="coordinates"> <sequence> <element name="x" type="double"/> <element name="y" type="double"/> </sequence> </complexType> </schema> The object of my confusion are the x and y elements whose types are not fully qualified. According to the examples in Vlist's book, this is legal... my question is how it should be interpreted. Is an unqualified type assumed to be a type in the target namespace (which I believe would make this schema illegal) or in the default namespace (I think that's the proper term for it :) Brenda Bell Sr. Software Architect Juice Software, Inc. Phone: 603.428.3994 Cell: 603.494.8206 Fax: 603.428.8713 Email: bbell@juicesoftware.com MSN: bbell@theotherbell.com
Received on Friday, 26 July 2002 18:16:53 UTC