From: Pierrick B. <pie...@fr...> - 2006-07-15 09:27:32
|
Hi, Sebastian Bossung a =E9crit : > it looks as if the function fn:resolve-QName (XPath functions 11.1.1)=20 > is missing. Indeed : some XQTS tests fail because of that. > I have done an implementation which you can find attached. Cool. > 1) I don't understand the profiler, so there is probably code missing=20 > for this Just copy and paste what you can find in the other functions ;-) > 2) the prefix resolution for plain (ie non-persistent) elements=20 > currently only looks at the namespace of the element itself, not at=20 > any declarations. This is so, because I didn't know how to get at the=20 > declarations (iterator over "xmlns:*" attributes?). You should be able to get them using the methods provided by the=20 (XQuery) context. > The function also needs to be registered, I think ModuleImpl will need=20 > an additional line in the signatures. Yeap. Why not also provide a few test cases ? > * Copyright (C) 2001-04 The eXist Team ... and switch to 2006 ;-) > return new QNameValue(context, qn); Please return the value to the profiler as well (yet another copy/paste). Feel free to submit your patch here :=20 http://sourceforge.net/tracker/?group_id=3D17691&atid=3D317691 I'm sure=20 Dannes (aka DiZzZz) will be happy to apply it :-) Cheers, p.b. |