Skip to main content
Participant
April 7, 2008
Question

Special version of Batik required by Flex SDK?

  • April 7, 2008
  • 1 reply
  • 481 views
Does the Flex Compiler require a specially modified version of Batik? It appears as though changes have been made to the Batik CSS module, perhaps to make more line number information available to the compiler. If so, does Adobe intend to release these changes?

For example, the flex2.compiler.css.StylesContainer class imports "org.apache.batik.css.parser.AbstractSelector" class -- such a class does not appear in Batik 1.6 or 1.7, so I'm left wondering if this is something Adobe added itself, perhaps for line number information. In a couple of places there are calls as follows:

if (selector instanceof AbstractSelector) {
lineNumber = ((AbstractSelector) selector).getLineNumber();
}

I discovered these discrepancies while creation Maven POMs for the downloaded source code. Instead of linking to the Batik jars provided by Adobe, I linked to the Batik POM which are publically available. At first, I thought I needed an earlier version of the jars, but that did not fix the problem. I also downloaded the Batik CSS source code and could not find the reference class.
This topic has been closed for replies.

1 reply

Participating Frequently
April 7, 2008
We made some changes here too and... we're working on open-sourcing them as well.