Skip to content

Commit

Permalink
[bugfix] Undo the attribute changes in '[optimise] Namespace and inde…
Browse files Browse the repository at this point in the history
…ntation performance fixes' as they don't respect special chars (yet)
  • Loading branch information
adamretter committed Dec 1, 2024
1 parent 34e34dd commit 8f9f1c0
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -352,9 +352,7 @@ public void attribute(final QName qname, final CharSequence value) throws Transf
}
writer.write(qname.getLocalPart());
writer.write("=\"");
//TODO (AP) - perf hack - needs to respect specials (e.g. precompute)
//writeChars(value, true);
writer.append(value);
writeChars(value, true);
writer.write('"');
} catch(final IOException ioe) {
throw new TransformerException(ioe.getMessage(), ioe);
Expand Down

0 comments on commit 8f9f1c0

Please sign in to comment.