W3C home > Mailing lists > Public > xmlschema-dev@w3.org > December 2008

RE: [xmlschema-dev] <none>

From: Michael Kay <mike@saxonica.com>
Date: Mon, 8 Dec 2008 10:10:49 -0000
To: <bharathkr@huawei.com>, <xmlschema-dev@w3.org>
Cc: <ashutosh_p@huawei.com>, <ranjit@huawei.com>
Message-ID: <FDD5C2C38069423AA30312FBA32CD1DB@Sealion>
There is information on how to report libxml bugs at
 
http://xmlsoft.org/bugs.html
 
Michael Kay
http://www.saxonica.com/


  _____  

From: xmlschema-dev-request@w3.org [mailto:xmlschema-dev-request@w3.org] On
Behalf Of bharath
Sent: 08 December 2008 06:35
To: xmlschema-dev@w3.org
Cc: ashutosh_p@huawei.com; ranjit@huawei.com
Subject: [xmlschema-dev] <none>



Hi..According to schema, there are some constraints for a restriction to be
valid.(given under Schema Component Constraint: Particle Restriction OK
(Elt:Elt -- NameAndTypeOK)).  When I give a schema which is not correct
according to the above constraints, libxml is not showing any error when it
is parsing it. The document is attached to this mail Where the restricted
element is not correct. These constraints are handled in the following
functions 

xmlSchemaCheckParticleRangeOK

xmlSchemaCheckRCaseNameAndTypeOK

xmlSchemaCheckRCaseNSCompat

xmlSchemaCheckRCaseRecurseAsIfGroup etc.

which are under the conditional compilation of the macro
"ENABLE_PARTICLE_RESTRICTION" which is commented.

Can you please help me in handling these constraints.

Thanks and regards,

Bharath.
Received on Monday, 8 December 2008 10:11:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:15:09 GMT