A
Aéris
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I have a problem with Java XML Transformer escaping.
I use Transformer to create a HTML file from an DOM Document.
But in generated HTML, all « & » on text nodes in the document, which
are parts of already escaped HTML entities like « », are
re-escaped by Transformer.
See this sample : http://pastebin.com/LfGpWMai
Instead of expected
<div>—</div>
I get
<div>&mdash;</div>
I search on doc and Google, but nothing found to disable escaping.
Is there anybody to help me ?
Thanks
- --
Aeris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJOlMm6AAoJEK8zQvxDY4P9S5gIAJ9deHSrFhHAnbxgyhCHHRYB
sVSUx7G2Wr1CpkM0SMRxhAvzKy09yONqeXaByuTRWwrPzKGRXHoKXTN9hC0jb04C
QrBKKZq0SSut3KbAcSgaOY2eCHSyPeI6vrQMLyanGUVpvr9J7kzZ7rp7CS2Z+bcY
9HIOdo93wwvzzRZvdAIaLc3VrkUa4TebXEb+j5QULwlmUnPuRpEEdCCfIJBg2Vmq
1tYL2XkKUA+xiW5sLK3VVhKskNhlWYop9J2IfoNdg5zS5wQsNNk5Z7KEtDcPoie5
zUftWJS6j8rvEuhpuDYXezFDVqAdgyQ8gpxnMyUELVOC41YV8oQuByJNjswUMks=
=0LA3
-----END PGP SIGNATURE-----
Hash: SHA1
Hi,
I have a problem with Java XML Transformer escaping.
I use Transformer to create a HTML file from an DOM Document.
But in generated HTML, all « & » on text nodes in the document, which
are parts of already escaped HTML entities like « », are
re-escaped by Transformer.
See this sample : http://pastebin.com/LfGpWMai
Instead of expected
<div>—</div>
I get
<div>&mdash;</div>
I search on doc and Google, but nothing found to disable escaping.
Is there anybody to help me ?
Thanks
- --
Aeris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJOlMm6AAoJEK8zQvxDY4P9S5gIAJ9deHSrFhHAnbxgyhCHHRYB
sVSUx7G2Wr1CpkM0SMRxhAvzKy09yONqeXaByuTRWwrPzKGRXHoKXTN9hC0jb04C
QrBKKZq0SSut3KbAcSgaOY2eCHSyPeI6vrQMLyanGUVpvr9J7kzZ7rp7CS2Z+bcY
9HIOdo93wwvzzRZvdAIaLc3VrkUa4TebXEb+j5QULwlmUnPuRpEEdCCfIJBg2Vmq
1tYL2XkKUA+xiW5sLK3VVhKskNhlWYop9J2IfoNdg5zS5wQsNNk5Z7KEtDcPoie5
zUftWJS6j8rvEuhpuDYXezFDVqAdgyQ8gpxnMyUELVOC41YV8oQuByJNjswUMks=
=0LA3
-----END PGP SIGNATURE-----