2

I have a validation error that I can't seem to fix.

The error is:

svg:1:133: error: element 'svg' missing required attribute 'baseProfile'

Meanwhile, my SVG tag is:

<svg baseProfile="tiny-ps" version="1.2" viewBox="0 0 118 118" xmlns="http://www.w3.org/2000/svg">

I have a baseProfile defined. What could be causing validation to fail.

Thanks!

3
  • What tool gives this verification error? Jan 18 at 16:25
  • Two, thank you: the MX Toolbox one and BIMIgroup.org both produce the same error. Using RNC Schema validation, I don't get any errors. But in testing, the logo doesn't appear. Jan 18 at 16:53
  • Maybe try bimigroup.org/svg-conversion-tools-released and see how the resulting SVG differs from yours, it might give clues. Otherwise no specific idea but difficult to assess without the full file. I suspect 1:133 means line 1 column 133 in your file (but that can as well be something completely different), but your string has only 99 characters... Jan 18 at 18:07

1 Answer 1

1

Solved!

I used all the SVG conversion tools listed and still it failed validation.

It turns out that Wordpress was stripping the baseProfile tag from the SVG file, causing it to fail validation. I'm not sure if it is something specific to this installation of Wordpress (or some plugin) or if it's a generally issue, but I'll leave this here for future reference.

I uploaded the SVG via SCP and now everything works.

1
  • Please select your answer as the correct answer
    – John Conde
    Jan 20 at 21:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.