You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Kris De Waele <kr...@inno.com> on 2002/03/15 16:37:51 UTC

SVG dtd

Hi,

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"

"http://www.w3.org/TR/2000/03/WD-SVG-20001102/DTD/svg-20001102-stylable.dtd"
>

which is different from the W3C recommandation dtd:

<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">

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


Thanks