> > Please don't miss my statement, all i've just said that instead of > > providing classes & package to do the job, we could instead generate the > > same code INSIDE a single classes so only the needed code will be deploy > > ;-) > > Yes but you are losing all the semantics of your graphical informations. > Using SVG you preserve the semantics of your graphical data.
This has no goal to preserve anything but just to preserve the look (the visual) and feel (the animation and event reaction). Such a file does not intend to compete with SVG but to be used as a light render format for fast vector graphics. > If you only need graphical stuffs, why not using JPG or animated GIF? Because it just does not fit into the same category. How can you expect user interraction with an image file ;-) How can you expact to do pipeline stuffs (filter effects, transformations, animations, ...) with a pixel base image ? > > About the problem of translating XScript to plain Java, a good start may be > > to first exclude any � la XPath access and only support direct *by ID* > > reference and access. > > ??? Just create the syntactic tree of your scripting language - decorate it > and then scan it to convert it to Java code. That's a bit of the idea ... the limit of this technics is to exclude the support of any kind of eval() feature ... on a first time basis at least. > > I still think that such a translator will bring cool features for the good > > of both SVG and Java. > > Go ahead - make my day. We need contributors :) My very problem is the lack of time because of my commitment on several alternate project (aside from my day job) ... The purpose of my post was to share and exchange about this ideas that i think should be great to implement ! And by posting i also hope to find leaders that could get this idea with > > The only limit of this technique is the 64k java limit :( > > java -mx might help. I hope you was kidding here ;-) Of course i was talking about the class heap limit ... because generating a single class will just limit the complexity of the SVG source file. As it request a large number of methods calls and soon reach to the class heap. @+ -JB'. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
