Re: a couple of issues with SVG 1.1 Mobile DTD

olivier Thereaux wrote:

> We received a couple of bug reports concerning validation (via the
> published XML DTD) of SVG 1.1 mobile. After a quick investigation, it
> looks like there are a couple of locations in the DTD which a number
> of tools find problematic:
>
> * http://www.w3.org/Graphics/SVG/1.1/DTD/svg-style.mod
> line 74 col 21
> => duplicate definition of attribute "xml:space"

Yes, xml:space is defined, but is also included with %SVG.Core.attrib;  
resulting in a double definition.

> * http://www.w3.org/Graphics/SVG/1.1/DTD/svg-basic-clip.mod
> around line 71-77
>
> => opensp just goes crazy about this, see output file attached.

The content model defined in SVG.clipPath.content is ambiguous. SP  
correctly points this out. XML parsers are not required to report this as  
an error though, even if it non-deterministic content models are not  
allowed in XML.

> Are these issues with the XML validation tools, or the DTDs?

The DTDs.

-- 
David Håsäther

Received on Wednesday, 16 May 2007 16:45:19 UTC