Ulf Holm Nielsen wrote:
I am having the same problem as
http://koala.ilog.fr/batik/mlists/batik-users/archives/msg05002.html
I don't know that we ever figured out what the problem was.
However it occurs to me that namespaces might well be the problem.
I am trying to pass a document containing a svg root element to both the
jpeg transcoder and the printtranscoder without much luck. The svg doc
is a result of a xsl transformation which is the given to the
TranscoderInput constructor. I runs through with the printtranscoder
fine but the output is not there. With the jpeg transcoder it complains
about the width and height being 0?
This code works if I output the document to a string and uses a
stringreader as input. Therefore I assume that the document is as it
should be.
While this seems like an excellent test it is in fact quite poor
as many namespace issues can be corrected by doing this.
You might try printing the namespace of the root node (and perhaps
some of the other nodes).
I have browsed through the sourcecode and found nothing that might
explain why thw width and height are not set. Perhaps someone with a bit
more insight might point me in the right direction?
Oh and I am using batik 1.5..
Best regards,
Ulf Holm Nielsen
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]