W3C home > Mailing lists > Public > www-svg@w3.org > May 2007

Re: a couple of issues with SVG 1.1 Mobile DTD

From: David Håsäther <hasather@gmail.com>
Date: Wed, 16 May 2007 18:45:02 +0200
To: "olivier Thereaux" <ot@w3.org>, www-svg@w3.org
Cc: "www-validator Community" <www-validator@w3.org>
Message-ID: <op.tsfh5cbjp8frts@hasather.net>

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 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:36 GMT