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
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to