Hi Patrick,
Yes, Xerces-C supports schema identity constraints. There are a few ways
in which beginning users go wrong when using schema identity constraints;
the most common is that they think default namespace applies to XPath
expressions when it doesn't. In order to give you any more useful
feedback, you'd have to post a (small) instance/schema pair that Xerces
says is valid but which you think should be invalid.
Cheers,
Neil
Neil Graham
XML Parser Development
IBM Toronto Lab
Phone: 905-413-3519, T/L 969-3519
E-mail: [EMAIL PROTECTED]
"Patrick
Blanchette" To: <[EMAIL PROTECTED]>
<[EMAIL PROTECTED] cc:
vio.com> Subject: RE: Is Xerces able to
validate key and keyref
09/11/2003 10:53
AM
Please respond to
xerces-c-dev
Ok,
Looks like that there is a lot of code about identity constraints in
xerces.
What is the purpose of this code?
Would there by any advantage of using key-keyref in my schema when parsing
with xerces?
Thanks
Patrick
> -----Original Message-----
> From: Erik Rydgren [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 11, 2003 10:36 AM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: Is Xerces able to validate key and keyref
>
>
> The key integrity check is only performed at parse time during
> validation.
> There is no support for the functionality that you request. Sorry.
>
> Regards
> Erik Rydgren
> Mandarin financial solutions
> Sweden
>
>
> > -----Original Message-----
> > From: Patrick Blanchette [mailto:[EMAIL PROTECTED]
> > Sent: den 11 september 2003 15:58
> > To: [EMAIL PROTECTED]
> > Subject: Is Xerces able to validate key and keyref
> >
> > Hi,
> > I want to validate that a key refered by a keyref really exist.
> I
> > create
> > a schema that establish a relation between 2 XML nodes using
> key-keyref.
> > I
> > create an XML file that respect the schema, the xml is validated
> > successfully. My problem is that it seems that there is no
> integrity
> > validation. I could remove data refered by another node without
> errors or
> > warnings.
> >
> > Does Xerces support integrity validation? If it does, how could
> I
> > activate
> > it?
> >
> > I tried it using xerces-c-2.3.0
> >
> > thanks,
> > Patrick
> >
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
#### winmail.dat has been removed from this note on September 11 2003 by
Neil Graham
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]