Re: [xml] "XML Schema attribute use patch, the second"



On Fri, Apr 16, 2004 at 04:55:23PM +0200, Kasimier Buchcik wrote:
Hi,

Please find attached a possible patch for bug #136678 [1]. It implements 
validation of the attribute "use" XML Schema item. Feel free to modify. 
I'm a bit unsure about how to name and where to put the additional 
constants and error types.

I don't know if the last patch made it to the list. It had the drawback 
that if an attribute, invalid due to the "use" definition was 
encountered, all following attributes were mistaken as invalid as well, 
since the validation function was exited. This patch should be used 
instead.

Additionally: It tries to solve bug #136678 - *not* bug #139791 as I 
wrote in the last mail.

  Excellent, this looks good, applied tested and commited along with the
test cases. I don't know why the error is reported 3 times, but except for
that small trouble this seems fine :-)

  thanks a lot !

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]