JSVGComponent and others are still there. There are now simply two
different versions, one for JDK 1.3 and one for JDK 1.4 and later.
Depending on the JDK you use, you need to add source-1.3 or source-1.4
as an additional source directory to your project if you set Batik up in
an IDE.

See here:
http://svn.apache.org/repos/asf/xmlgraphics/batik/trunk/sources-1.3/org/apache/batik/swing/svg/
http://svn.apache.org/repos/asf/xmlgraphics/batik/trunk/sources-1.4/org/apache/batik/swing/svg/

I hope that helps.

On 07.09.2005 22:19:10 Judson, Ross wrote:
> I've done two checkouts of the trunk...from 
> 
> http://svn.apache.org/repos/asf/xmlgraphics/batik/trunk
> 
> Both times I've not seen a couple of key classes -- JSVGComponent for
> one.  I can try and form a list for you.
> 
> When I navigate directly through the tree under /trunk to the package
> location JSVGComponent should be...it isn't.  
> 
> If the files are actually not there, I think that longtime developers
> probably have up-to-date local copies of these files already and do not
> realize that they are missing.
> 
> In any case, you might want to do a fresh checkout against the trunk and
> see if you receive the complete set of files you're expecting.
> 
> I have been investigating methods for laying out objects.  It can be
> extraordinarily useful to route objects along a path, at times -- the
> SVG standard allows this in a highly indirect manner, through making
> glyphs out of elements, then using text on a path.  I am working out
> "group on a path" -- routing the elements of a group object along a path
> object.
> 
> The 1.2 text routing features (flow text within regions) could also be
> used to lay out group members within a given container (path).
> 
> On another note, I have had some difficulty using JDK 1.5's XPath
> implementation with Batik's DOM.  I'm not sure entirely why this is yet,
> but something like this won't work (at least with the build I have):
> 
> Xpath xpath = XPathFactory.newInstance().newXPath();
> SVGDocument doc = SAXSVGDocumentFactory.create....
> xpath.evaluate("//g", doc, XPathConstants.NODESET);
> 
> Load the exact same document into the native JDK DOM and it finds the
> groups just fine...
> 
> RJ


Jeremias Maerki


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

Reply via email to