Re: More on the test suite

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 UTC