CARVIEW |
14 January 2003
Appendix O: Feature Strings
This appendix is normative.
The following are the feature strings for the requiredFeatures attribute. These same feature strings apply to the hasFeature method call that is part of the SVG DOM's support for the DOMImplementation interface defined in [DOM2-CORE] (see Feature strings for the hasFeature method call). In some cases the feature strings map directly to SVG modules, in others they represent some functionality of the User Agent (that it is a dynamic viewer for example). Note that the format and naming for feature strings changed from SVG 1.0 to SVG 1.1. The SVG 1.0 feature strings are listed below after the SVG 1.1 feature strings and User Agents should support all listed feature strings for compatibility reasons. However, the SVG 1.0 feature strings can be considered deprecated.
- Feature String:
- https://www.w3.org/TR/SVG11/feature#SVG
- User Agent Supports:
- At least one of the following (all of which are described subsequently): "https://www.w3.org/TR/SVG11/feature#SVG-static", "https://www.w3.org/TR/SVG11/feature#SVG-animation", "https://www.w3.org/TR/SVG11/feature#SVG-dynamic" or "https://www.w3.org/TR/SVG11/feature#SVGDOM". (Because the feature string "https://www.w3.org/TR/SVG11/feature#SVG" can be ambiguous in some circumstances, it is recommended that more specific feature strings be used.)
- Feature String:
- https://www.w3.org/TR/SVG11/feature#SVGDOM
- User Agent Supports:
- At least one of the following (all of which are described subsequently): "https://www.w3.org/TR/SVG11/feature#SVGDOM-static", "https://www.w3.org/TR/SVG11/feature#SVGDOM-animation" or "https://www.w3.org/TR/SVG11/feature#SVGDOM-dynamic". (Because the feature string "https://www.w3.org/TR/SVG11/feature#SVGDOM" can be ambiguous in some circumstances, it is recommended that more specific feature strings be used.)
- Feature String:
- https://www.w3.org/TR/SVG11/feature#SVG-static
- User Agent Supports:
-
The following features (described below)
- https://www.w3.org/TR/SVG11/feature#CoreAttribute
- https://www.w3.org/TR/SVG11/feature#Structure
- https://www.w3.org/TR/SVG11/feature#ContainerAttribute
- https://www.w3.org/TR/SVG11/feature#ConditionalProcessing
- https://www.w3.org/TR/SVG11/feature#Image
- https://www.w3.org/TR/SVG11/feature#Style
- https://www.w3.org/TR/SVG11/feature#ViewportAttribute
- https://www.w3.org/TR/SVG11/feature#Shape
- https://www.w3.org/TR/SVG11/feature#Text
- https://www.w3.org/TR/SVG11/feature#PaintAttribute
- https://www.w3.org/TR/SVG11/feature#OpacityAttribute
- https://www.w3.org/TR/SVG11/feature#GraphicsAttribute
- https://www.w3.org/TR/SVG11/feature#Marker
- https://www.w3.org/TR/SVG11/feature#ColorProfile
- https://www.w3.org/TR/SVG11/feature#Gradient
- https://www.w3.org/TR/SVG11/feature#Pattern
- https://www.w3.org/TR/SVG11/feature#Clip
- https://www.w3.org/TR/SVG11/feature#Mask
- https://www.w3.org/TR/SVG11/feature#Filter
- https://www.w3.org/TR/SVG11/feature#XlinkAttribute
- https://www.w3.org/TR/SVG11/feature#Font
- https://www.w3.org/TR/SVG11/feature#Extensibility
- Feature String:
- https://www.w3.org/TR/SVG11/feature#SVGDOM-static
- User Agent Supports:
- All of the DOM interfaces and methods that correspond to the language features for "https://www.w3.org/TR/SVG11/feature#SVG-static".
- Feature String:
- https://www.w3.org/TR/SVG11/feature#SVG-animation
- User Agent Supports:
- All of the language features from "https://www.w3.org/TR/SVG11/feature#SVG-static" plus the feature "https://www.w3.org/TR/SVG11/feature#Animation". For SVG viewers running on media capable of rendering time-based material, such as displays, "https://www.w3.org/TR/SVG11/feature#SVG-animation" indicates that the viewer can process and render successfully all of the corresponding language features.
- Feature String:
- https://www.w3.org/TR/SVG11/feature#SVGDOM-animation
- User Agent Supports:
- All of the DOM interfaces and methods that correspond to the language features for "https://www.w3.org/TR/SVG11/feature#SVG-animation".
- Feature String:
- https://www.w3.org/TR/SVG11/feature#SVG-dynamic
- User Agent Supports:
-
All of the language features from
"https://www.w3.org/TR/SVG11/feature#SVG-animation" plus the
following features:
- https://www.w3.org/TR/SVG11/feature#Hyperlinking
- https://www.w3.org/TR/SVG11/feature#Scripting
- https://www.w3.org/TR/SVG11/feature#View
- https://www.w3.org/TR/SVG11/feature#Cursor
- https://www.w3.org/TR/SVG11/feature#GraphicalEventsAttribute
- https://www.w3.org/TR/SVG11/feature#DocumentEventsAttribute
- https://www.w3.org/TR/SVG11/feature#AnimationEventsAttribute
- Feature String:
- https://www.w3.org/TR/SVG11/feature#SVGDOM-dynamic
- User Agent Supports:
- All of the DOM interfaces and methods that correspond to the language features for "https://www.w3.org/TR/SVG11/feature#SVG-dynamic".
- Feature String:
- https://www.w3.org/TR/SVG11/feature#CoreAttribute
- User Agent Supports:
- Core Attribute Module
- Feature String:
- https://www.w3.org/TR/SVG11/feature#Structure
- User Agent Supports:
- Structure Module
- Feature String:
- https://www.w3.org/TR/SVG11/feature#BasicStructure
- User Agent Supports:
- Basic Structure Module
- Feature String:
- https://www.w3.org/TR/SVG11/feature#ContainerAttribute
- User Agent Supports:
- Container Attribute Module
- Feature String:
- https://www.w3.org/TR/SVG11/feature#ConditionalProcessing
- User Agent Supports:
- Conditional Processing Module
- Feature String:
- https://www.w3.org/TR/SVG11/feature#Image
- User Agent Supports:
- Image Module
- Feature String:
- https://www.w3.org/TR/SVG11/feature#Style
- User Agent Supports:
- Style Module
- Feature String:
- https://www.w3.org/TR/SVG11/feature#ViewportAttribute
- User Agent Supports:
- Viewport Attribute Module
- Feature String:
- https://www.w3.org/TR/SVG11/feature#Shape
- User Agent Supports:
- Shape Module
- Feature String:
- https://www.w3.org/TR/SVG11/feature#Text
- User Agent Supports:
- Text Module
- Feature String:
- https://www.w3.org/TR/SVG11/feature#BasicText
- User Agent Supports:
- Basic Text Module
- Feature String:
- https://www.w3.org/TR/SVG11/feature#PaintAttribute
- User Agent Supports:
- Paint Attribute Module
- Feature String:
- https://www.w3.org/TR/SVG11/feature#BasicPaintAttribute
- User Agent Supports:
- Basic Paint Attribute Module
- Feature String:
- https://www.w3.org/TR/SVG11/feature#OpacityAttribute
- User Agent Supports:
- Opacity Attribute Module
- Feature String:
- https://www.w3.org/TR/SVG11/feature#GraphicsAttribute
- User Agent Supports:
- Graphics Attribute Module
- Feature String:
- https://www.w3.org/TR/SVG11/feature#BasicGraphicsAttribute
- User Agent Supports:
- Basic Graphics Attribute Module
- Feature String:
- https://www.w3.org/TR/SVG11/feature#Marker
- User Agent Supports:
- Marker Module
- Feature String:
- https://www.w3.org/TR/SVG11/feature#ColorProfile
- User Agent Supports:
- Color Profile Module
- Feature String:
- https://www.w3.org/TR/SVG11/feature#Gradient
- User Agent Supports:
- Gradient Module
- Feature String:
- https://www.w3.org/TR/SVG11/feature#Pattern
- User Agent Supports:
- Pattern Module
- Feature String:
- https://www.w3.org/TR/SVG11/feature#Clip
- User Agent Supports:
- Clip Module
- Feature String:
- https://www.w3.org/TR/SVG11/feature#BasicClip
- User Agent Supports:
- Basic Clip Module
- Feature String:
- https://www.w3.org/TR/SVG11/feature#Mask
- User Agent Supports:
- Mask Module
- Feature String:
- https://www.w3.org/TR/SVG11/feature#Filter
- User Agent Supports:
- Filter Module
- Feature String:
- https://www.w3.org/TR/SVG11/feature#BasicFilter
- User Agent Supports:
- Basic Filter Module
- Feature String:
- https://www.w3.org/TR/SVG11/feature#DocumentEventsAttribute
- User Agent Supports:
- Document Events Attribute Module
- Feature String:
- https://www.w3.org/TR/SVG11/feature#GraphicalEventsAttribute
- User Agent Supports:
- Graphical Events Attribute Module
- Feature String:
- https://www.w3.org/TR/SVG11/feature#AnimationEventsAttribute
- User Agent Supports:
- Animation Events Attribute Module
- Feature String:
- https://www.w3.org/TR/SVG11/feature#Cursor
- User Agent Supports:
- Cursor Module
- Feature String:
- https://www.w3.org/TR/SVG11/feature#Hyperlinking
- User Agent Supports:
- Hyperlinking Module
- Feature String:
- https://www.w3.org/TR/SVG11/feature#XlinkAttribute
- User Agent Supports:
- Xlink Attribute Module
- Feature String:
- https://www.w3.org/TR/SVG11/feature#ExternalResourcesRequired
- User Agent Supports:
- ExternalResourcesRequired Module
- Feature String:
- https://www.w3.org/TR/SVG11/feature#View
- User Agent Supports:
- View Module
- Feature String:
- https://www.w3.org/TR/SVG11/feature#Script
- User Agent Supports:
- Script Module
- Feature String:
- https://www.w3.org/TR/SVG11/feature#Animation
- User Agent Supports:
- Animation Module
- Feature String:
- https://www.w3.org/TR/SVG11/feature#Font
- User Agent Supports:
- Font Module
- Feature String:
- https://www.w3.org/TR/SVG11/feature#BasicFont
- User Agent Supports:
- Basic Font Module
- Feature String:
- https://www.w3.org/TR/SVG11/feature#Extensibility
- User Agent Supports:
- Extensibility Module
SVG 1.0 feature strings
All SVG 1.0 feature strings referring to language capabilities begin with "org.w3c.svg". All SVG 1.0 feature strings referring to SVG DOM capabilities begin with "org.w3c.dom.svg".
- The feature string "org.w3c.svg" indicates that the user agent supports at least one of the following (all of which are described subsequently): "org.w3c.svg.static", "org.w3c.svg.animation", "org.w3c.svg.dynamic" or "org.w3c.dom.svg". (Because the feature string "org.w3c.svg" can be ambiguous in some circumstances, it is recommended that more specific feature strings be used.)
- The feature string "org.w3c.dom.svg" indicates that the user agent supports at least one of the following (all of which are described subsequently): "org.w3c.dom.svg.static", "org.w3c.dom.svg.animation" or "org.w3c.dom.svg.dynamic". (Because the feature string "org.w3c.dom.svg" can be ambiguous in some circumstances, it is recommended that more specific feature strings be used.)
-
The feature string "org.w3c.svg.static"
indicates the availability of all of the language
capabilities defined in:
- Basic Data Types and Interfaces
- Document Structure
- Styling
- Coordinate Systems, Transformations and Units
- Paths
- Basic Shapes
- Text
- Painting: Filling, Stroking and Marker Symbols
- Color
- Gradients and Patterns
- Clipping, Masking and Compositing
- Filter Effects
- Fonts
- The 'switch' element
- The requiredFeatures attribute
- The requiredExtensions attribute
- The systemLanguage attribute
For SVG viewers, "org.w3c.svg.static" indicates that the viewer can process and render successfully all of the language features listed above.
- The feature string "org.w3c.dom.svg.static" indicates the availability of all of the DOM interfaces and methods that correspond to the language features for "org.w3c.svg.static".
- The feature string "org.w3c.svg.animation" includes all of the language capabilities defined for "org.w3c.svg.static" plus the availability of all of the language capabilities defined in Animation. For SVG viewers running on media capable of rendering time-based material, such as displays, "org.w3c.svg.animation" indicates that the viewer can process and render successfully all of the corresponding language features.
- The feature string "org.w3c.dom.svg.animation" corresponds to the availability of DOM interfaces and methods that correspond to the language features for "org.w3c.svg.animation".
- The feature string "org.w3c.svg.dynamic" includes all of the language capabilities defined for "org.w3c.svg.animation" plus the availability of all of the language capabilities defined in Relationship with DOM2 events, Linking and Interactivity and Scripting. For SVG viewers running on media capable of rendering time-based material, such as displays, "org.w3c.svg.dynamic" indicates that the viewer can process and render successfully all of the corresponding language features.
- The feature string "org.w3c.dom.svg.dynamic" corresponds to the availability of DOM interfaces and methods that correspond to the language features for "org.w3c.svg.dynamic".
- The feature string "org.w3c.svg.all" corresponds to the availability of all of the language capabilities defined in this specification.
- The feature string "org.w3c.dom.svg.all" corresponds to the availability of all of the DOM interfaces defined in this specification.