xs:QName as name expression of CompAttr
Replies (1)
Please register to reply
Added by Anonymous over 19 years ago
Legacy ID: #3036171 Legacy Poster: marcvc (marcvc)
Michael, it seems that xs:QName atomic values are not accepted for the name expression of a computed attribute? declare function local:foo ($q){ attribute {$q} {} }; local:foo(fn:QName((),"a")) Results in: XP0006: Required type of @name attribute of attribute is xs:string; supplied value has type xs:QName Thanks, Marc
Legacy ID: #3036549 Legacy Poster: Michael Kay (mhkay)
Thanks, this revealed a number of errors in a previously untested code path. See https://sourceforge.net/tracker/index.php?func=detail&aid=1159119&group_id=29872&atid=397617 Michael Kay
Please register to reply