- From: Priscilla Walmsley <pwalmsley@vitria.com>
- Date: Thu, 4 Oct 2001 10:50:26 -0700
- To: xmlschema-dev@w3.org
Hi, I'm trying to add a non-XML Schema attribute (oth:desc) to an element declaration. XSV is not acting the way I would expect. It is oddly trying to dereference the target namespace (not the namespace mapped to "oth"), and giving an error when it can't. When I remove the oth:desc attribute, it works fine. Is this a bug? Thanks, Priscilla Schema (http://www.priscilla.walmsley.com/slroot.xsd): <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="tns" targetNamespace="tns" xmlns:oth="otherns"> <xsd:element name="x" type="xsd:string" oth:desc="xdesc"/> </xsd:schema> Instance (http://www.priscilla.walmsley.com/slroot.xml): <x xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="tns slroot.xsd" xmlns="tns">test</x> Error message: Error: can't retrieve "http://www.priscilla.walmsley.com/tns": 404 Object Not Found ----------------------------------------------------------- Priscilla Walmsley priscilla@walmsley.com Architect, Vitria Technology http://www.vitria.com Author, Definitive XML Schema (Prentice Hall, Dec. 2001) -----------------------------------------------------------
Received on Thursday, 4 October 2001 13:50:29 UTC