Re: [xml] libxml schema validation
- From: Michael Ludwig <mlu as-guides com>
- To: xml gnome org
- Subject: Re: [xml] libxml schema validation
- Date: Mon, 15 Jun 2009 20:13:02 +0200
William Mok schrieb:
I am using xmlSchemaValidateDoc to verfiy a XML doc against a schema.
I got an error "XML_SCHEMAS_ERR_UNDECLAREDELEM". What does this error
mean?
A guess - the root element of the document instance you're validating
(the validation root) does not have a matching global declaration in
the schema. (Your doc is <Urmel xmlns="urn:X-Gurke"/>, and there is no
global declaration for Urmel in that namespace in your schema.)
Any specific example that sombody can give me to cause the error to
occur?
Try validating a document against a schema where the above applies.
Michael Ludwig
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]