You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by "Lars G." <la...@gmx.de> on 2002/03/14 18:49:13 UTC

Batik and JBuilder 5

Hi!

I'm using batik and the JBuilder 5. I unzip batik in the programfolder and
add all librays under projekt-properties, but the example from
http://xml.apache.org don't work for me:

import org.apache.batik.dom.svg.SVGDOMImplementation;
import org.w3c.dom.Document;

DOMImplementation impl = SVGDOMImplementation.getDOMImplementation();
String svgNS = SVGDOMImplementation.SVG_NAMESPACE_URI;
Document doc = impl.createDocument(svgNS, "svg", null);

After impl. (and the dot) I don't see the method createDocument(). I think
my Classpath isn't right (I read something about this in some newsgroups),
but I don't know how to configure the JBuilder so this works for me.

thank you for helping.

Lars Götte


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Batik and JBuilder 5

Posted by Thomas E Deweese <th...@kodak.com>.
>>>>> "LG" == Lars G <la...@gmx.de> writes:

LG> I'm using batik and the JBuilder 5. I unzip batik in the
LG> programfolder and add all librays under projekt-properties, but
LG> the example from http://xml.apache.org don't work for me:

    [...]

LG> After impl. (and the dot) I don't see the method
LG> createDocument(). I think my Classpath isn't right (I read
LG> something about this in some newsgroups), but I don't know how to
LG> configure the JBuilder so this works for me.

    I agree your classpath is probably wrong, you are probably picking
up and old version of the XML DOM.  Unfortunately, I don't use
JBuilder (and I don't think any of the Batik developers do either) so
we can't help you directly. However if you figure this out (or if
someone else mails you a fix) it would be appreciated if you could put
togeather a FAQ on this.  You might also check the mail archives and
talk to some of the other people that encountered the problem.

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org