Shan Kajendran wrote:
Thanks for your quick reply.

What do you mean by
'pre' element in the SVG namespace,

The document has a element with local name 'pre' and the namespace is the official SVG namespace. This is illegal - you can put what ever elements you want in your own namespace but you can not add elements to the SVG namespace - otherwise what is the point of a standard?

Also is Batik supports SVGZ?

All SVG viewers are required to support gzip (AKA deflate) compression. Batik supports this transparently (it uses the defalte magic number to check so it doesn't matter what the extension is).


Shan



Shan Kajendran wrote:


The batik application is failed to open the svg files which don't have
the header.  Then i have inserted the following header and it is

working


fine.
[...]
now i am having problem with opening the attached svg file. It looks compressed format but not svgz. any idea?


   It is a gzip "svg" file but it has a number of things that make it
invalid as an SVG file (most notably it has a 'pre' element in the SVG
namespace, in the script document is accessable as 'document' not
'svgDocument' - and it uses abobe sound extensions).




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






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



Reply via email to