I get an error when I include a SVG document (using <fo:external-graphic>)
and the document has this doctype:

<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20001102 Stylable//EN"


which is different from the W3C recommandation dtd:

<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"

I've noticed that the example svg files in fop_0.20.3 (eg boxes.svg)
have this doctype:
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20000802//EN"
"http://www.w3.org/TR/2000/CR-SVG-20000802/DTD/svg-20000802.dtd";> and this
works fine

does anybody know what Batik's requirements are for the doctype and whether
it's possible to switch it off


Reply via email to