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 Niklas Lindström <ni...@valtech.se> on 2001/04/10 14:32:10 UTC

W3C DOM Document

Hi!

I'm quite new to this technology; and not too familiar with Java. I'm trying
to pass on a W3C DOM document to the JPEGTranscoder, but I get the following
error:

org.apache.batik.transcoder.TranscoderException:
org.apache.batik.transcoder.TranscoderException: The specified XML document
fragment is not an SVG document

The document in question works in the viewer, and when passed to the
transcoder via a string to be read as an URL. I'm parsing the document to a
DOM-tree using Xerces, and use getDocument() of the parser to get the object
I pass on to the transcoder. I guess I'm missing something obvious here, but
I just don't seem to get it. Can anyone help me with this?

regards
Niklas Lindström


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