W3C home > Mailing lists > Public > www-svg@w3.org > November 2002

Re: More on the test suite

From: Tobias Reif <tobiasreif@pinkjuice.com>
Date: Fri, 15 Nov 2002 12:14:01 +0100
Message-ID: <3DD4D6F9.2090907@pinkjuice.com>
To: www-svg@w3.org

Niklas Gustavsson wrote:


> In http://www.w3.org/Graphics/SVG/Test/20021112/svggen/masking-path-04-b.svg
> there is a text element inside a clipPath. That is not valid for the SVG 1.1
> Basic DTD that is used in that file.


I also get some message related to code in the DTD:

######################################################################
xmllint masking-path-04-b.svg --valid --noout --catalogs
http://www.w3.org/Graphics/SVG/1.1/DTD/svg-style.mod:75: validity 
warning: Attribute space on style: already defined
     type %ContentType.datatype; #REQUIRED
     ^
masking-path-04-b.svg:41: validity error: Element clipPath content 
doesn't follow the DTD
Expecting ((desc | title | metadata)* , (animate | set | animateMotion | 
animateColor | animateTransform | use)* , (animate | set | animateMotion 
| animateColor | animateTransform | use | path | rect | circle | line | 
ellipse | polyline | polygon)? , (animate | set | animateMotion | 
animateColor | animateTransform | use)*), got (text )
          </clipPath>
                    ^
######################################################################

######################################################################
domcount masking-path-04-b.svg

Warning at file http://www.w3.org/Graphics/SVG/1.1/DTD/svg-style.mod, 
line 74, char 22
   Message: Attribute 'xml:space' has already been declared for element 
'style'

Error at file masking-path-04-b.svg, line 41, char 21
   Message: Element 'text' is not valid for content model: 
'(((desc|title|metadata))*,
((animate|set|animateMotion|animateColor|animateTransform|use))*,
((animate|set|animateMotion|animateColor|animateTransform|use|path|
rect|circle|line|ellipse|polyline|polygon))?,
((animate|set|animateMotion|animateColor|animateTransform|use))*)'
######################################################################

Tobi

-- 
http://www.pinkjuice.com/
Received on Friday, 15 November 2002 06:14:35 GMT

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