space in id: id="sweet potato"

Bug #229854 reported by peepo
2
Affects Status Importance Assigned to Milestone
Inkscape
Confirmed
Low
Unassigned

Bug Description

parity opera, safari, mozilla

Tags: svg
Revision history for this message
peepo (j-chetwynd) wrote :
Revision history for this message
peepo (j-chetwynd) wrote :
Revision history for this message
amphi (i-launchpad-kaioa-com) wrote :

The XML is invalid.

http://www.w3.org/TR/REC-xml/#sec-attribute-types -> http://www.w3.org/TR/REC-xml/#NT-Name

Name ::= (Letter | '_' | ':') (NameChar)*

Spaces aren't allowed there.

What Inkscape could do, however, is fixing this kind of issues by renaming the id name automatically. E.g. replace spaces with underscores and - if a collision occurs - adding numbers.

Revision history for this message
nightrow (jb-benoit) wrote :

It could indeed be good to be tolerant to faulty svg, feel free to close this bug if this is already the case

Changed in inkscape:
importance: Undecided → Low
status: New → Confirmed
su_v (suv-lp)
tags: added: svg
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.