Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


[xmlschema-dev]

From: bharath <bharathkr@------.--->
To: xmlschema-dev@--.---
Date: 12/8/2008 5:23:00 PM
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.



transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent