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

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -