Unique constraint check with Xerces

2005-03-10 Thread kamal gupta
Hi, I have a XML schema file with unique constraints at attribute level of some element. e.g uniqueness of attribute (called name) in an element (called list) is added as follows: And in my code, I have set fgXercesSchemaFullChecking to true. But when I try to test this by having list el

RE: Help on Validating schema

2005-03-09 Thread kamal gupta
thew Berry <[EMAIL PROTECTED]> wrote: > Kamal, > > Two things to try: > > */ Set the feature: > XMLUni::fgXercesUseCachedGrammarInParse > */ Have you installed a custom error handler with > setErrorHandler() to trap > validation errors. > > Good luck > >

Help on Validating schema

2005-03-08 Thread kamal gupta
Hi, I have downloaded PAthan 2.0 and Xerces 2.6. I am trying to add schema validation in Pathan Examples under samples/basic/ by calling following APIs: I have a schema file data.xsd and I am calling loadGrammer API to load the schema file as follows: short grammarType = XERCES Grammar::Schema