On Thu, 17 Aug 2006 23:15:56 -0700 (PDT)
prad <[EMAIL PROTECTED]> wrote:

> 
> Hi Thomas,
> Thanks for the suggestion,but am not supposed to change svg file or change
> namespace
> wat i have to do is to handle such elements by ignoring them

Well, if the elements are not SVG, then it is not SVG. If it is not SVG, you
can't really expect Batik to handle it.

I'm not trying to be nasty, but this question comes up regularly. This is a
basic XML issue. If you have elements that are not part of the definition of
SVG, your file is not valid (by the definition of valid in the XML spec).

Namespaces are a well-defined mechanism for delaying with elements that are
not part of application.

If you can't change the input, maybe you can run a post-processing pass with
XSLT to convert the non-SVG elements to a different namespace before passing
it to Batik.

G. Wade
-- 
Those who live by the sword get shot by those who don't.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to