![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >xmlschema-dev Archive Home >Recent entries >Thread Prev - include and targetNamespace error >Thread Next - Tool for flattening distributed XML schemas RE: include and targetNamespace errorTo: "Debora Vanni" <debora.vanni@------.--->, <xmlschema-dev@--.--->, <priscilla@--------.---> Date: 5/18/2006 1:02:00 PM
Hi,
> -----Original Message-----
> From: xmlschema-dev-request@w...
> [mailto:xmlschema-dev-request@w...] 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
From debora.vanni@t... Thu May 18 10:02:23 2006
Received: from lisa.w3.org ([ | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
