Skip to main content
Known Participant
January 28, 2025
Question

Illustrator v29.2.1 creating invalid SVGs

  • January 28, 2025
  • 1 reply
  • 2633 views
SVG Issues (Jan 17 2025)
Adobe Illustrator v28.7.1 created valid SVGs. v29.2.1 creates invalid SVGs. It looks like the xmlns:xlink section of the <SVG version> element is duplicated for v29.2.1, but okay for v28.7.1. Unfortunately, I had auto-update turned on.
Is there a fix for this other than manually editing every SVG I create?
 
Corrected Header
<svg version="1.1" id="Text" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 386.14 200.57" enable-background="new 0 0 386.14 200.57" xml:space="preserve">
 
Incorrect Header (v29.2.1)
<svg version="1.1" id="Text" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 386.14 200.57"  enable-background="new 0 0 386.14 200.57" xml:space="preserve">

1 reply

Anshul_Saini
Community Manager
Community Manager
February 3, 2025

Hi @stitchsds,

 

Thanks for reporting this. The team has checked but hasn’t been able to reproduce the issue on an internal build of an upcoming version (not yet publicly available). However, since the duplication may depend on specific content or features in your file, could you share a sample .ai file where this occurs? That would help us investigate further.

 

Also, just to confirm—are you specifically selecting SVG 1.1 as the profile while exporting, or does the issue persist regardless of the profile used?

 

Looking forward to your response!

 

Best,

Anshul Saini

stitchsdsAuthor
Known Participant
February 5, 2025

If I create an SVGs from AI files created in v29.2.1, the SVGs are valid.

SVGs modified and exported from Illustrator 29.2.1, but were originally created in older versions of Illustrator are invalid.

If I create an AI file from an older SVG, make changes, then re-export into SVG, those SVGs are also invalid.

 

And yes, SVG 1.1 is selected.

 

I have uploaded a selection of test files for you to see. This system did not let me upload a ZIP file.