Hi wolnic,

> but in batik version 1.7 the file gets erros and cannot displayed correctly
> like firefox

Just checked in Batik 1.8-pre (development version) and confirmed that
the problem is the doctype being used: it isn't supposed that quotes
are escaped (as """) at that point. Replacing the guilty lines
with:

<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd";>

Works around the problem.

In the meantime, the specification states that it "is not recommended
that a DOCTYPE declaration be included in SVG documents" [1] so, if
you or your software support that sort of configuration, you may want
to review it.


Hope this helps,
 Helder


[1] http://www.w3.org/TR/SVG/intro.html#NamespaceAndDTDIdentifiers

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-h...@xmlgraphics.apache.org

Reply via email to