![]() |
#1 |
Connoisseur
![]() Posts: 64
Karma: 10
Join Date: Sep 2015
Location: Yerevan, Armenia
Device: none
|
when SVG is not well-formed
When an svg-file is not well formed (eg. I lost </g> tag in my svg)
- in the Book View it seems like that the svg-file doesn't exist in ePub; - there is no message that the svg-file is bad on open in Code View. |
![]() |
![]() |
![]() |
#2 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,495
Karma: 5703586
Join Date: Nov 2009
Device: many
|
Yes, this is expected behaviour. Sigil does not validate SVG images. If you want that option, you might want to right click and use "Open with ..." in the and open the SVG image in an application for editing SVG that validates.
|
![]() |
![]() |
![]() |
#3 | |
Connoisseur
![]() Posts: 64
Karma: 10
Join Date: Sep 2015
Location: Yerevan, Armenia
Device: none
|
Quote:
but unfortunately this error was not shown in IE11 and Inkscape 0.91 The picture was OK in both programs without any info... ![]() Only Chrom helps me to understand that problem within svg, not Sigil. - SVG is xml, so I was thinking that add such check is more easy to implement than many times answer to users that this problem with the file, but not Sigil. ![]() Last edited by KevinH; 11-12-2015 at 10:36 AM. |
|
![]() |
![]() |
![]() |
#4 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,687
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
Shameless plug: You could install my epubcheck plugin, which will also check the validity of .svg files.
For example, it reported the following error for your test file: Code:
image001.svg 36 Fatal Error while parsing file 'The element type "g" must be terminated by the matching end-tag "</g>".'. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
iFrame not well-formed so doesn't pass ePubcheck | ChuckH | ePub | 6 | 11-19-2015 12:01 PM |
Free (Kindle) Gospel Formed [Xtian Lifestyle Advocacy w/Theology Explanation] | ATDrake | Deals and Resources (No Self-Promotion or Affiliate Links) | 0 | 01-12-2015 06:11 AM |
Error: Cannot split: ......xhtml XML is not well formed | Alt68er | Sigil | 2 | 04-23-2014 03:00 AM |
Formed of Clay: a novella of betrayal in ancient Egypt | theapatra | Self-Promotions by Authors and Publishers | 0 | 05-13-2012 09:36 AM |
How to handle badly formed xml from web page? | kiwidude | Development | 6 | 02-19-2011 12:05 AM |