SVG switch element
| Project: | EPUB Maintenance |
| Component: | Open Publication Structure (OPS) |
| Category: | bug report |
| Priority: | normal |
| Assigned: | PSorotokin |
| Status: | completed @ 2.0.1 |
Jump to:
SVG has its own switch element similar to OPS switch. It works by looking at requiredFeatures attribute which list URLs identifying features that are needed to process a particular switch clause. I think we need to clarify what feature URL corresponds to its usage in OPS context. I think it is natural that feature with URL "http://www.idpf.org/2007/ops" would imply that OPS is supported. It would be nice to state it explicitly.
Errata: add the following text to the OPS spec section "2.5.1: General Notes on SVG Usage":
Since OPS is by definition supported in conforming Reading Systems, requiredExtension attribute on SVG elements with the value "http://www.idpf.org/2007/ops" MUST always evaluate to true. See SVG 1.1 Recommendation section "5.8.4 The requiredExtensions attribute" for more information on requiredExtension attribute processing.
- Login to post comments

Comments
#1
Agree with your proposal Peter, it makes a lot of sense to correctly identify OPS in a SVG switch.
#2
#3
I propose we move it to errata and add the following text to the OPS spec section "2.5.1: General Notes on SVG Usage":
Since OPS is by definition supported in conforming Reading Systems, requiredExtension attribute on SVG elements with the value "http://www.idpf.org/2007/ops" MUST always evaluate to true. See SVG 1.1 Recommendation section "5.8.4 The requiredExtensions attribute" for more information on requiredExtension attribute processing.
#4
moving to proposed resolution, as more than one week passed.
#5
#6