[XML]validate a XML message by using several schemas
- From: "luis" <luis mail mis cycu edu tw>
- To: xml gnome org
- Subject: [XML]validate a XML message by using several schemas
- Date: Mon, 1 Aug 2005 09:35:08 +0800
Hi,
I try to validate a XML message by using several schemas,
but in the xmlschemas.c I got a problem, the function xmlSchemaValidateElem()
would ignored some element validated, thus I added some code(see below) in
xmlSchemaValidateElem() to solve this proble.
vctxt->inode->decl = xmlSchemaGetElem(vctxt->schema, vctxt->inode->localName,
vctxt->inode->nsName);
if (vctxt->inode->decl == NULL) {
return (-1);
}
Is there anything wrong? How should I do?
Any suggestion is appreciated.
BRs.
Luis
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]