SCSS: Namespace prefix xlink for href on use is not defined
See original GitHub issueWhen I include svg in scss file, svg image can not display due to missing xmlns:xlink="http://www.w3.org/1999/xlink"
I’ve already created PR https://github.com/cascornelissen/svg-spritemap-webpack-plugin/pull/38 https://github.com/cascornelissen/svg-spritemap-webpack-plugin/pull/39
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
SVG Namespace prefix xlink for href on image is not defined
The <svg> element is missing the declaration of the xlink namespace, although it is used in the <image> elements.
Read more >error on line 39 at column 26: Namespace prefix xlink for href ...
CSS : error on line 39 at column 26: Namespace prefix xlink for href on script is not defined [ Beautify Your Computer ......
Read more >Namespace prefix xlink for href on script is not defined ...
i am embedding a javascript file inside an svg file like this: <svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" ...
Read more >xlink:href - SVG: Scalable Vector Graphics - MDN Web Docs
The xlink:href attribute defines a reference to a resource as a reference IRI. The exact meaning of that link depends on the context...
Read more >XLink Namespace Declaration - Journal Article Tag Suite
This is not an attribute, but the namespace pseudo-attribute. The value provides a prefix to use for the XLink linking attributes.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
svg_sprites.zip Here is it, Cas!
Hi @tungquach, sorry for taking so long. I inspected your example but the
dashboard.svg
does have the correctxmlns:xlink
namespace and still doesn’t show so I’m either misunderstanding what you mean or you’re running into another problem than the one you’re describing.Let me know!