Fix for XALANJ-1497 which fixes the incorrect newline
after a PI, but also other incorrect whitespace around
PI and comments.

After this fix the newline after an XML header is almost
never written out because the generated XML could later be
used as an external general parsed entity and even that
extra newline could mess things up.
2 files changed