Hi,

On Thu, 2005-08-11 at 20:07 +0200, [EMAIL PROTECTED] wrote:
> Hi,
> 
> > Von: GUY Fabrice <[EMAIL PROTECTED]>
> > Datum: Thu, 11 Aug 2005 17:21:27 +0200
> > 
> > >   maybe the line of the reference can be saved at the same time of the
> > > value, that's what I did for ID in DTD validation when streaming. And
> > > it is sufficient for the error report you don't need to keep a pointer
> > > to the node.
> > 
> > For error report it is sufficient, but I suppose that for error
> > catching (using for example xmlSchemaSetValidErrors) this mechanism
> > won't allow to get the error node I need. So is it possible to save
> > also the name of the element ? (knowing the name and the value of the
> > element would be sufficient for me to get the error node, even if it's
> > not very efficient)

Changed in CVS head, xmlschemas.c revision 1.167
(+ due to other changes: xmlerror.h revision 1.75)

[EMAIL PROTECTED]:/data/home/kbuchcik/gnomecvs/tests$ xmllint --noout --schema
keyref.xsd keyref.xml
keyref.xml:6: Schemas validity error : Element 'element2': No match
found for key-sequence ['test'] of key reference 'keyref'.
keyref.xml fails to validate

Is the output OK for you?

Regards,

Kasimier
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to