- From: Buchcik, Kasimier <k.buchcik@4commerce.de>
- Date: Thu, 18 May 2006 11:02:16 +0200
- To: "Debora Vanni" <debora.vanni@tvblob.com>, <xmlschema-dev@w3.org>, <priscilla@walmsley.com>
Hi, > -----Original Message----- > From: xmlschema-dev-request@w3.org > [mailto:xmlschema-dev-request@w3.org] On Behalf Of Debora Vanni > > Hi! > I have some problems with targetNamespace: > I have a file .xsd with some simpleType that I want to use also in > another file.xsd, so I would like to include it. > When I do it it comes out this error > element message_content: Schemas validity error : Element > 'message_content': No matching global declaration available. > (message_content is the root node of the message xml). > I tried not to use the include and define types inside schema but it's > the same. It only works without define targetNamespace and xmls. > These are files...what's wrong? > Please help me! The error message: "Element 'message_content': No matching global declaration available." means that the element in your instance is in no namespace. Libxml2 uses James Clark's namespace notation for error reports, thus a 'message_content' is an element in no namespace, and a '{urn:test:foo}message_content' is an element in the namespace "urn:test:foo". The element declaration of "message_content" in the given schema, declares the element to be in the namespace "http://www.tvblob3.com/TVB". [...] Regards, Kasimier
Received on Thursday, 18 May 2006 09:02:31 UTC