@@ -63,7 +63,7 @@ public static int generateDocs(final FunctionSignature sig, final UserDefinedFun
63
63
XQDocHelper .parse (sig );
64
64
65
65
final AttributesImpl attribs = new AttributesImpl ();
66
- attribs .addAttribute ("" , "name" , "name" , "CDATA" , sig .getName ().toString ());
66
+ attribs .addAttribute ("" , "name" , "name" , "CDATA" , sig .getName ().getStringValue ());
67
67
attribs .addAttribute ("" , "module" , "module" , "CDATA" , sig .getName ().getNamespaceURI ());
68
68
final int nodeNr = builder .startElement (FUNCTION_QNAME , attribs );
69
69
writeParameters (sig , builder );
@@ -130,7 +130,7 @@ private static void writeAnnotations(final FunctionSignature signature, final Me
130
130
if (annots != null ) {
131
131
for (final Annotation annot : annots ) {
132
132
attribs .clear ();
133
- attribs .addAttribute (null , "name" , "name" , "CDATA" , annot .getName ().toString ());
133
+ attribs .addAttribute (null , "name" , "name" , "CDATA" , annot .getName ().getStringValue ());
134
134
attribs .addAttribute (null , "namespace" , "namespace" , "CDATA" , annot .getName ().getNamespaceURI ());
135
135
builder .startElement (ANNOTATION_QNAME , attribs );
136
136
final LiteralValue [] value = annot .getValue ();
@@ -164,7 +164,7 @@ private static void generateDependencies(final UserDefinedFunction function, fin
164
164
final AttributesImpl attribs = new AttributesImpl ();
165
165
for (final FunctionSignature signature : signatures ) {
166
166
attribs .clear ();
167
- attribs .addAttribute (null , "name" , "name" , "CDATA" , signature .getName ().toString ());
167
+ attribs .addAttribute (null , "name" , "name" , "CDATA" , signature .getName ().getStringValue ());
168
168
attribs .addAttribute ("" , "module" , "module" , "CDATA" , signature .getName ().getNamespaceURI ());
169
169
attribs .addAttribute ("" , "arity" , "arity" , "CDATA" , Integer .toString (signature .getArgumentCount ()));
170
170
0 commit comments