Re: [xml] Question about error reporting when using key / keyref constraints in Schema



On Thu, Aug 11, 2005 at 03:55:42PM +0200, Kasimier Buchcik wrote:
[...]

  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.

This would be anchored in _xmlSchemaPSVIIDCNode. We still have a
"node" field there - a remainder. So remove "node" and add "int line"?

  something like that yes, and change the error report formatting.
Removing the temptation of having a dandling pointer is good too :-)

Daniel

-- 
Daniel Veillard      | Red Hat Desktop team http://redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]