30 April 2002

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:
http://www.w3.org/TR/SVG11/feature#SVG
User Agent Supports:
At least one of the following (all of which are described subsequently): "http://www.w3.org/TR/SVG11/feature#SVG-static", "http://www.w3.org/TR/SVG11/feature#SVG-animation", "http://www.w3.org/TR/SVG11/feature#SVG-dynamic" or "http://www.w3.org/TR/SVG11/feature#SVGDOM". (Because the feature string "http://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:
http://www.w3.org/TR/SVG11/feature#SVGDOM
User Agent Supports:
At least one of the following (all of which are described subsequently): "http://www.w3.org/TR/SVG11/feature#SVGDOM-static", "http://www.w3.org/TR/SVG11/feature#SVGDOM-animation" or "http://www.w3.org/TR/SVG11/feature#SVGDOM-dynamic". (Because the feature string "http://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:
http://www.w3.org/TR/SVG11/feature#SVG-static
User Agent Supports:
The following features (described below) For SVG viewers, "http://www.w3.org/TR/SVG11/feature#SVG-static" indicates that the viewer can process and render successfully all of the language features in the modules corresponding to the features listed above.
Feature String:
http://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 "http://www.w3.org/TR/SVG11/feature#SVG-static".
Feature String:
http://www.w3.org/TR/SVG11/feature#SVG-animation
User Agent Supports:
All of the language features from "http://www.w3.org/TR/SVG11/feature#SVG-static" plus the feature "http://www.w3.org/TR/SVG11/feature#Animation". For SVG viewers running on media capable of rendering time-based material, such as displays, "http://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:
http://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 "http://www.w3.org/TR/SVG11/feature#SVG-animation".
Feature String:
http://www.w3.org/TR/SVG11/feature#SVG-dynamic
User Agent Supports:
All of the language features from "http://www.w3.org/TR/SVG11/feature#SVG-animation" plus the following features: For SVG viewers running on media capable of rendering time-based material, such as displays, "http://www.w3.org/TR/SVG11/feature#SVG-dynamic" indicates that the viewer can process and render successfully all of the corresponding language features.
Feature String:
http://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 "http://www.w3.org/TR/SVG11/feature#SVG-dynamic".
Feature String:
http://www.w3.org/TR/SVG11/feature#CoreAttribute
User Agent Supports:
Core Attribute Module
Feature String:
http://www.w3.org/TR/SVG11/feature#Structure
User Agent Supports:
Structure Module
Feature String:
http://www.w3.org/TR/SVG11/feature#BasicStructure
User Agent Supports:
Basic Structure Module
Feature String:
http://www.w3.org/TR/SVG11/feature#ContainerAttribute
User Agent Supports:
Container Attribute Module
Feature String:
http://www.w3.org/TR/SVG11/feature#ConditionalProcessing
User Agent Supports:
Conditional Processing Module
Feature String:
http://www.w3.org/TR/SVG11/feature#Image
User Agent Supports:
Image Module
Feature String:
http://www.w3.org/TR/SVG11/feature#Style
User Agent Supports:
Style Module
Feature String:
http://www.w3.org/TR/SVG11/feature#ViewportAttribute
User Agent Supports:
Viewport Attribute Module
Feature String:
http://www.w3.org/TR/SVG11/feature#Shape
User Agent Supports:
Shape Module
Feature String:
http://www.w3.org/TR/SVG11/feature#Text
User Agent Supports:
Text Module
Feature String:
http://www.w3.org/TR/SVG11/feature#BasicText
User Agent Supports:
Basic Text Module
Feature String:
http://www.w3.org/TR/SVG11/feature#PaintAttribute
User Agent Supports:
Paint Attribute Module
Feature String:
http://www.w3.org/TR/SVG11/feature#OpacityAttribute
User Agent Supports:
Opacity Attribute Module
Feature String:
http://www.w3.org/TR/SVG11/feature#GraphicsAttribute
User Agent Supports:
Graphics Attribute Module
Feature String:
http://www.w3.org/TR/SVG11/feature#BasicGraphicsAttribute
User Agent Supports:
Basic Graphics Attribute Module
Feature String:
http://www.w3.org/TR/SVG11/feature#Marker
User Agent Supports:
Marker Module
Feature String:
http://www.w3.org/TR/SVG11/feature#ColorProfile
User Agent Supports:
Color Profile Module
Feature String:
http://www.w3.org/TR/SVG11/feature#Gradient
User Agent Supports:
Gradient Module
Feature String:
http://www.w3.org/TR/SVG11/feature#Pattern
User Agent Supports:
Pattern Module
Feature String:
http://www.w3.org/TR/SVG11/feature#Clip
User Agent Supports:
Clip Module
Feature String:
http://www.w3.org/TR/SVG11/feature#BasicClip
User Agent Supports:
Basic Clip Module
Feature String:
http://www.w3.org/TR/SVG11/feature#Mask
User Agent Supports:
Mask Module
Feature String:
http://www.w3.org/TR/SVG11/feature#Filter
User Agent Supports:
Filter Module
Feature String:
http://www.w3.org/TR/SVG11/feature#BasicFilter
User Agent Supports:
Basic Filter Module
Feature String:
http://www.w3.org/TR/SVG11/feature#DocumentEventsAttribute
User Agent Supports:
Document Events Attribute Module
Feature String:
http://www.w3.org/TR/SVG11/feature#GraphicalEventsAttribute
User Agent Supports:
Graphical Events Attribute Module
Feature String:
http://www.w3.org/TR/SVG11/feature#AnimationEventsAttribute
User Agent Supports:
Animation Events Attribute Module
Feature String:
http://www.w3.org/TR/SVG11/feature#Cursor
User Agent Supports:
Cursor Module
Feature String:
http://www.w3.org/TR/SVG11/feature#Hyperlinking
User Agent Supports:
Hyperlinking Module
Feature String:
http://www.w3.org/TR/SVG11/feature#XlinkAttribute
User Agent Supports:
Xlink Attribute Module
Feature String:
http://www.w3.org/TR/SVG11/feature#ExternalResourcesRequired
User Agent Supports:
ExternalResourcesRequired Module
Feature String:
http://www.w3.org/TR/SVG11/feature#View
User Agent Supports:
View Module
Feature String:
http://www.w3.org/TR/SVG11/feature#Script
User Agent Supports:
Script Module
Feature String:
http://www.w3.org/TR/SVG11/feature#Animation
User Agent Supports:
Animation Module
Feature String:
http://www.w3.org/TR/SVG11/feature#Font
User Agent Supports:
Font Module
Feature String:
http://www.w3.org/TR/SVG11/feature#BasicFont
User Agent Supports:
Basic Font Module
Feature String:
http://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".