#27 Identity Transformer loses comments

v6.4.3
closed
Michael Kay
5
2012-10-08
2001-08-31
Michael Kay
No

An identity transformer (created using
TransformerFactory.newTransformer() with no arguments)
does not copy comments to from the source document to
the result.

Reported by Evan Lenz.

Source code fixed 2001-08-31. The code should now copy
comments in all cases except where the supplied Result
is a ContentHandler that doesn't implement
LexicalHandler. Not yet tested.

Discussion