You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
epubcheck 4.2.0.-beta (and previous versions) indicate an error message for this SVG fragment:
"
<image xlink:href="Titelseite.svg#v1" width="2000" height="1600"
preserveAspectRatio="xMidYMid slice"/>
"
The IRI points to a view in the referenced file:
"
<view id="v1" viewBox="0 600 2000 2000" />
"
The error message goes like this: "ERROR(RSC-009): SVG.epub/Inhalt/preserveAspectRatio.xhtml(192,40): A fragment identifier should not be used with an img src attribute."
Well, it is not an img element at all and it has no src attribute. ;-)
If it means the XLink:href, SVG notes about this, that the value has to be an IRI https://www.w3.org/TR/SVG11/linking.html#IRIReference
therefore Titelseite.svg#v1 is ok.
Even for HTML5:img src I could not find any indication, that 'Titelseite.svg#v1'
should be a problem.
Simlar problem for XLink:href of the SVG:a element:
"
<a xlink:href="#svgView(viewBox(1000,0,100,100))" xlink:title="Ansicht 2">
"
results in "ERROR(RSC-012): SVG.epub/Inhalt/view02.svg(18,75): Fragment identifier is not defined."
Updates check `RSC-009`, which reports images defined as fragments:
- only report it if the image resource is not an SVG document.
- report it as a `WARNING` instead of an `ERROR`.
- improve the message to make it applicable to both HTML and SVG image
elements.
Fix (part of) #987
Updates check `RSC-009`, which reports images defined as fragments:
- only report it if the image resource is not an SVG document.
- report it as a `WARNING` instead of an `ERROR`.
- improve the message to make it applicable to both HTML and SVG image
elements.
Fix (part of) #987
epubcheck 4.2.0.-beta (and previous versions) indicate an error message for this SVG fragment:
"
<image xlink:href="Titelseite.svg#v1" width="2000" height="1600"
preserveAspectRatio="xMidYMid slice"/>
"
The IRI points to a view in the referenced file:
"
<view id="v1" viewBox="0 600 2000 2000" />
"
The error message goes like this: "ERROR(RSC-009): SVG.epub/Inhalt/preserveAspectRatio.xhtml(192,40): A fragment identifier should not be used with an img src attribute."
Well, it is not an img element at all and it has no src attribute. ;-)
If it means the XLink:href, SVG notes about this, that the value has to be an IRI
https://www.w3.org/TR/SVG11/linking.html#IRIReference
therefore Titelseite.svg#v1 is ok.
Even for HTML5:img src I could not find any indication, that 'Titelseite.svg#v1'
should be a problem.
Simlar problem for XLink:href of the SVG:a element:
"
<a xlink:href="#svgView(viewBox(1000,0,100,100))" xlink:title="Ansicht 2">
"
results in "ERROR(RSC-012): SVG.epub/Inhalt/view02.svg(18,75): Fragment identifier is not defined."
Because it is an svgView
https://www.w3.org/TR/SVG11/linking.html#SVGFragmentIdentifiers
this is ok as well, it references correctly an SVG fragment identifier.
The text was updated successfully, but these errors were encountered: