java - Apache Batik Transcode exception when "&" appears in some text -


i trying create png svg batik. in proof of concept worked smoothly. code receives , svg escaped, have unescape before transcoding.

but when there tag "&" (ie "o&m") fails.

error: java.io.ioexception: reference entity "m" must end ';' delimiter.

any ideas?

& beginning of character reference. has written & in xml files.


Comments

Popular posts from this blog

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -