Skip to content

Commit

Permalink
Merge pull request #3844 from malakaganga/dss_x
Browse files Browse the repository at this point in the history
Add missing attribute escapeNonPrintableChar in DS
  • Loading branch information
malakaganga authored Dec 19, 2024
2 parents d66c807 + 22b5f69 commit 9f4ae04
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,7 @@ private static void processCallQuery(CommonParams cparams, XmlSchemaElement pare
activeElement.setMinOccurs(0);
activeElement.setMaxOccurs(Long.MAX_VALUE);
}

/* process the result content */
processElementGroup(cparams, activeElement, result.getDefaultElementGroup());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,10 @@ private static void serializeResult(Result result, OMElement queryEl, OMFactory
if (elementName != null) {
resEl.addAttribute(DBSFields.ELEMENT, elementName, null);
}
String escapeNonPrintableChar = String.valueOf(result.isEscapeNonPrintableChar());
if (!escapeNonPrintableChar.isEmpty()) {
resEl.addAttribute(DBSFields.ESCAPE_NON_PRINTABLE_CHAR, escapeNonPrintableChar, null);
}
String rowName = result.getRowName();
if (rowName != null) {
resEl.addAttribute(DBSFields.ROW_NAME, rowName, null);
Expand Down

0 comments on commit 9f4ae04

Please sign in to comment.