Re: ISSUE-2253 (foreignobject-context): <foreignObject>s should be allowed as children of container elements [SVG Full 1.1]

SVG Working Group Issue Tracker:
> In SVG 1.1, the DTD requires that <foreignObject> elements only be
> used as children of a <switch>. In SVG Tiny 1.2, a <foreignObject>
> can be a child of a container element. Should we create an erratum to
> loosen this in 1.1? You can, after all, use conditional attributes on
> elements that are not children of a <switch>.

Sort of related: the SVG 1.1 DTD also does not allow a <switch> to be a
child of a <switch>.  Since a <switch> is just a container that
selectively chooses which child to render, and can itself have
conditional attributes on it, why shouldn’t it be allowed to be the
child of another <switch>?

-- 
Cameron McCormack ≝ http://mcc.id.au/

Received on Friday, 27 March 2009 06:36:00 UTC