Skip to main content
Known Participant
Jan 28, 2025 8:22 PM UTC
Question

Illustrator v29.2.1 creating invalid SVGs

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">

    10 replies

    Anshul_Saini
    Community Manager
    Community Manager
    Feb 3, 2025 11:01 AM UTC

    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

    Translate
    stitchsdsAuthor
    Known Participant
    Feb 5, 2025 2:44 PM UTC

    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.

    Translate