Skip to content

Commit

Permalink
revert recent change with respect to boundary-space (#2392)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuntherRademacher authored Mar 4, 2025
1 parent c0c4794 commit 4ddf3c8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions basex-tests/src/main/java/org/basex/tests/w3c/QT3TS.java
Original file line number Diff line number Diff line change
Expand Up @@ -740,9 +740,8 @@ private String assertXML(final QT3Result result, final XdmValue expected) {
options.add("'" + DeepEqualOptions.NAMESPACE_PREFIXES.name() + "':" + !ignorePrefixes + "()");
options.add("'" + DeepEqualOptions.COMMENTS.name() + "':true()");
options.add("'" + DeepEqualOptions.PROCESSING_INSTRUCTIONS.name() + "':true()");
final String query = "declare boundary-space preserve;\n"
+ Function.DEEP_EQUAL.args(" <X>" + expctd.trim() + "</X>", " <X>" + rslt.trim() + "</X>",
" { " + String.join(", ", options) + " }");
final String query = Function.DEEP_EQUAL.args(" <X>" + expctd + "</X>",
" <X>" + rslt + "</X>", " { " + String.join(", ", options) + " }");
return asBoolean(query, expected) ? null : expctd;
} catch(final IOException ex) {
return Util.info("% (found: %)", expctd, ex);
Expand Down

0 comments on commit 4ddf3c8

Please sign in to comment.