The issue is with the svg format. You can use a free validator to check for errors. (such as https://validator.w3.org/check)
I put your snippet into this validator and is shows that has no attributes "xmlns", "height", or "width". I changed the symbol tag to a tag and it passed.