Re: Image xlink not working
Anthony Rowlands <[email protected]> Mon, 20 May 2013 14:33:23 -0600
| Newsgroups | gmane.text.xml.batik.user |
|---|---|
| Message-ID | <CAM--h5493PvBpvkUWxW34ZMBVfQUYD3a8t9PiL+NUT2VpKSYDw@mail.gmail.com> |
Found the problem. I wasn't setting my xlink namespace correctly. On Mon, May 20, 2013 at 1:52 PM, Anthony Rowlands <[email protected]>wrote: > I'm trying to use PNGTranscoder on an SVG Document that has nothing but an > image tag in it. I am trying to xlink to an image on my local filesystem, > and then convert to PNG. > > I get this error: > > org.w3c.dom.DOMException: The given name ("/absolute/path/to/image.png") > is an invalid XML name. > > The same SVG file loads into a browser without any problems. Any ideas? > >