- From: S Page <info@skierpage.com>
- Date: Sun, 1 May 2022 20:33:04 -0700
- To: www-validator@w3.org
- Message-ID: <62e763bd-7d90-6049-3b8c-0b394a054040@skierpage.com>
Hello there. I exported a trivial slide from LibreOffice Impress, and
validated it with your fine service https://validator.w3.org/check .
Here it is http://www.skierpage.com/bugs/very_simple_slide_noscript.svg
, minus 450kB of JavaScript (there's nothing visible in Firefox because
the JavaScript "makes it work", though Inkscape will show the slide
contents).
I expected some validation errors like SVG version mismatch and
complaints about all the ooo attributes from OpenOffice.org SVG
extension. However, I'm puzzled by
> Error [73]: "end tag for X which is not finished"
>
> Error /Line 21, Column 143/: end tag for "font-face" which is not
> finished
>
from
<font-facefont-family="Liberation Sans embedded" units-per-em="2048"
font-weight="normal" font-style="normal" ascent="1852" descent="423"/>
The validator's explanation suggests font-face element requires a child
element, but the SVG 1.1 spec
https://www.w3.org/TR/SVG11/fonts.html#FontFaceElement doesn't indicate
what's required and the SVG 1.1 DTD
https://www.w3.org/TR/SVG11/svgdtd.html is pretty impenetrable.
I tried nesting
<font-face-src>
<font-face-name name="Super Sans Bold"/>
</font-face-src>
from the example font in
https://www.w3.org/TR/SVG11/fonts.html#SVGFontsOverview inside the tag,
and that didn't help.
I realize it's a lot to ask for the validator to introspect and explain
why it's unhappy with an element, but is there a cheat sheet or guide to
figuring out what attributes or child elements are required to make it
happy?
Many, many thanks for this tool and all you do.
--
=S Page
|**|
Received on Monday, 2 May 2022 07:33:28 UTC