Inkscape and svg file that looks blank

General discussions about Inkscape.
User avatar
capnhud
Posts: 435
Joined: Mon Jun 04, 2007 8:30 pm
Location: U.S.A

Inkscape and svg file that looks blank

Postby capnhud » Wed Nov 14, 2007 12:50 am

I just recently downloaded a svg file from Zenwalkin' the sea SVG but when I try to view it in inkscape I see nothing, how would I get it to display correctly?

edit you have to select zenwalk svgs and it is the bottom one

User avatar
aho
Posts: 180
Joined: Sun Nov 04, 2007 9:51 am
Contact:

Re: Inkscape and svg file that looks blank

Postby aho » Wed Nov 14, 2007 1:16 am

zensea.tar.gz -> zensea.tar -> zensea/zenqnx44.svg

WTF?

SVGZ is too convenient huh? (It would be ~2kb smaller as well).

Alright. Open the file with a text editor. At line 9 you'll see this:

xmlns:xlink="&ns_xlink;"

Replace it with:

xmlns:xlink="http://www.w3.org/1999/xlink"

and it works fine.

User avatar
capnhud
Posts: 435
Joined: Mon Jun 04, 2007 8:30 pm
Location: U.S.A

Re: Inkscape and svg file that looks blank

Postby capnhud » Wed Nov 14, 2007 1:31 am

Just so I now for future references why did I put the following?
xmlns:xlink="http://www.w3.org/1999/xlink"

User avatar
aho
Posts: 180
Joined: Sun Nov 04, 2007 9:51 am
Contact:

Re: Inkscape and svg file that looks blank

Postby aho » Wed Nov 14, 2007 2:32 am

That's the usual xlink namespace definition. You could use a different URL if you like, but using the defined ones ensures that there won't be collisions.

The reason why the old one didn't work... well, it's seriously malformed. It doesn't even remotely look like an URL. :)

'&' is '&' and '#38;' might have been '&#38' which is '&' as well. Something went really wrong there.

User avatar
capnhud
Posts: 435
Joined: Mon Jun 04, 2007 8:30 pm
Location: U.S.A

Re: Inkscape and svg file that looks blank

Postby capnhud » Wed Nov 14, 2007 8:47 pm

It did not even occur to me that I should look at the svg markup to see what was wrong. Now I know that is something I must also check with a svg file. I guess it never occurred to me to use the svg validator. duh. Anyways thanks for the help.

fraroco
Posts: 1
Joined: Fri Mar 11, 2016 8:27 am

Re: Inkscape and svg file that looks blank

Postby fraroco » Fri Mar 11, 2016 8:32 am

Dear friends,

I have used inkscape for years and nothing similar has happen to me. Now It was my first time.
I google for a solution and I found this one. Unfortuntely, looking out in the text It was imposible to found
the line you mention. I tried to find the xmlns in the hole text but the same, the line does not exist.

Thanks for you help
Francisco

aho wrote:zensea.tar.gz -> zensea.tar -> zensea/zenqnx44.svg

WTF?

SVGZ is too convenient huh? (It would be ~2kb smaller as well).

Alright. Open the file with a text editor. At line 9 you'll see this:

xmlns:xlink="&ns_xlink;"

Replace it with:

xmlns:xlink="http://www.w3.org/1999/xlink"

and it works fine.

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Inkscape and svg file that looks blank

Postby brynn » Fri Mar 11, 2016 8:59 am

As far as I understand the original message, that line was unique to that file.

Can you share the SVG file with us, that looks blank? Then we can investigate.

Please also include your Inkscape version and operating system.

How large is the file? Is it possible the file is taking a long time to open, because it's very large?

oscar_aee
Posts: 1
Joined: Sun Apr 02, 2017 11:33 am

Re: Inkscape and svg file that looks blank

Postby oscar_aee » Sun Apr 02, 2017 11:48 am

Greetings!! Inkscape is awesome and version 0.92 seems very stable.

This issue still happens with some files in Inkscape 0.92.1.0. I'm attatching two files. First one is the one I found on the net. The second one I edited manually to change the colour of the design to Black (It was White on the original file). Opening the file with a web browser (Google Chrome or Firefox) I can see the white design on a dark background or the black design on a white background for the second file. Opening in Inkscape it shows part of the banner, the part of the left, but the part on the right (the bigger part) is missing (selecting all only shows the figure on the left).

I'm just curious on how to fix this, I don't see anything out of order. Thanks!!
Attachments
marea-digital2.svg
(11.59 KiB) Downloaded 213 times
marea-digital.svg
(11.59 KiB) Downloaded 218 times

tylerdurden
Posts: 2344
Joined: Sun Apr 14, 2013 12:04 pm
Location: Michigan, USA

Re: Inkscape and svg file that looks blank

Postby tylerdurden » Sun Apr 02, 2017 1:05 pm

The missing object is a "symbol". With the symbols panel open, you can remove the object from the panel to edit it.

http://wiki.inkscape.org/wiki/index.php/SymbolsDialog

Image
Have a nice day.

I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1

The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/


Return to “General Discussions”