Kevin, > Kevin Lindsey wrote: > > Hello, > > I was curious if Batik supports external gzipped JavaScript files. I > know that this is not part of the SVG 1.0 spec, but I have found it to > be quite handy with my slow dial-up connection. Of course, I've tried > a test but that did not work; however, I wanted to check to see if > there was an attribute that I could set on the script element to > specify that the external file was gzipped. If not, would this be too > difficult to add considering that svgz files are already supported? >
I would point out that if you embed the script in your SVG, it can be gzipped already :-) OK, that is a bad answer. >From the top of my head, and looking at what SVG does with .svg and .svgz. There is a single mime type for SVG file but they can be either compressed or uncompressed. The type attribute in the <script> element is also a mime type, so it does not seem far fetched to say that the script file could be either compressed on uncompressed. I suggest you add an RFE (Request For Extension, or is it Requested Feature Extension?) in Bugzilla if you care about this feature: http://nagoya.apache.org/bugzilla/ Thanks, Vincent. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
