SVG Painting: parsing fill with valid values