Can't open .svg file

Asked by Brian Stephens

I can not open any of my .svg files in Inkscape .48. I also can't open them with Firefox.
 I can open them in ABViewer7 which was a trail version and has now expired.
 I went on the internet and found some sample .svg files and I can open them in Inkscape. So there must be some thing wrong with the .svg files I have but I dont know anything about programing.
I did get an error message on Firefox which is as follows.
 XML Parsing Error: not well-formed
Location: file:///C:/Users/Brian/Desktop/Sample%232.svg
Line Number 196, Column 100:
<a id="POPUP_LINKER1" onclick="show_popup(evt, 'C3159', 'ep_location.asp?filename=E92151035&zone=F2&item=C3159&year=2009&book=E92&legacy=N&vehicle=2009+F%2D150&market=US&lang=EN&SR_RES=&SR_TYP=&SR_ITM=&CI_FLAVOR=&TOC_FLAVOR=NUM&CONI_FLAVOR=NUM&I_FLAVOR=', 'ep_c3p_face.asp?conn=C3159&year=2009&book=E92&legacy=N&vehicle=2009+F%2D150&market=US&lang=EN&SR_RES=&SR_TYP=&SR_ITM=&CI_FLAVOR=&TOC_FLAVOR=NUM&CONI_FLAVOR=NUM&I_FLAVOR=', 'F2', 'Under passenger seat', '');"><g id="CONN_C3159_14">
-
-----------------------------------------------------------------------------------------------------------------------^
I am running Windows 7 64 Bit if thats any help
Any ideas would be appreciated.
Thanks
Brian

Question information

Language:
English Edit question
Status:
Solved
For:
Inkscape Edit question
Assignee:
No assignee Edit question
Solved by:
Marc Stewart
Solved:
Last query:
Last reply:
Revision history for this message
Marc Stewart (marc.stewart) said :
#1

It's difficult to be certain without access to the original file when the formatting of your error message has been spoiled by Launchpad, but I'd say that the problem lies in all those ampersands. The ampersand is a special character in XML. When used improperly, the XML file is considered to not be well formed, which is the warning your error message starts with.

If you open the SVG file in Notepad, then use the Find and Replace tool in the Edit menu to change the bare ampersands to &amp; (that's an ampersand followed by amp and a semicolon), and resave the file, you may have better luck opening it.

Revision history for this message
Brian Stephens (jbstephens4) said :
#2

Thanks for the quick response.
 This seems to have cured the file not opening. But now there is info missing on the opened file. This is a wiring schematic for my truck and the missing info is wire colors,termination points and component names. This was all visible in ABViewer7.
I am more than willing to send the original file for anyones perusal if you tell me how.

Thanks again
Brian

Revision history for this message
pbhj (pbhj) said :
#3

There are lots of options for file upload - http://www.easy-share.com/ is one, http://www.megaupload.com/ another, google will find you lots more. You could use dropbox and put them in your public folder, dropbox is awesome (http://db.tt/u24Jeky - we both get extra space if you sign up via that link) for file backup, sharing between your own computers and public sharing too.

The key information that is missing is which program the files were created in, was it online?

Revision history for this message
su_v (suv-lp) said :
#4

The free image hosting service <http://imgh.us/> is another one (accepts and serves SVG).

Revision history for this message
Brian Stephens (jbstephens4) said :
#5

I am attaching a link to the one of the files in question. The files were obtained from Ford's service site.

 Here is the link
http://www.easy-share.com/1912516184/FordF150AirBags#2.svg

Thanks
Brian

Revision history for this message
Best Marc Stewart (marc.stewart) said :
#6

That file's just full of errors!

If you do another find and replace, this time replacing:
rotate(-)
with:
rotate(0)
a whole bunch of extra stuff becomes visible rather than being squished up at the top left.

The resulting file looks more complete to me. I hope that's does it, but if there are any more differences from what you were expecting, describe them here.

Revision history for this message
Brian Stephens (jbstephens4) said :
#7

That fixed it!!!
Thank You so very much.
 I now have a lot of work to do to modify all my files.

Revision history for this message
Brian Stephens (jbstephens4) said :
#8

Thanks Marc Stewart, that solved my question.