Skip to content

Commit

Permalink
[bugfix] Fix an issue in the XQuery function util:describe-function#1…
Browse files Browse the repository at this point in the history
… whereby QName#toString() was being called instead of QName#getStringValue()
  • Loading branch information
adamretter committed Sep 10, 2023
1 parent ed4861e commit a2d456b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ private void writeAnnotations(FunctionSignature signature, MemTreeBuilder builde
if (annots != null) {
for (final Annotation annot : annots) {
attribs.clear();
attribs.addAttribute(null, "name", "name", "CDATA", annot.getName().toString());
attribs.addAttribute(null, "name", "name", "CDATA", annot.getName().getStringValue());
attribs.addAttribute(null, "namespace", "namespace", "CDATA", annot.getName().getNamespaceURI());
builder.startElement(ANNOTATION_QNAME, attribs);
final LiteralValue[] value = annot.getValue();
Expand Down

0 comments on commit a2d456b

Please sign in to comment.