Re: Updated test suite?

Niklas Gustavsson wrote:

 > Here's the list of files that fail to validate in XMLSpy.

Some error messages by xmllint and Xerces-C:
(perhaps they help with finding out if an issue is with the respective 
DTD or with the respective SVG)

animate-elem-03-t.svg
xmllint:
38: validity error:
No declaration for attribute fill of element missing-glyph
   <missing-glyph horiz-adv-x="233" fill="red"

animate-elem-23-t.svg
xmllint:
57: validity error: Element circle content does not follow the DTD
Expecting ((desc | title | metadata)* , (animate | set | animateMotion | 
animateColor | animateTransform)*), got (CDATA set animateColor )
Xerces:
Error at [...] line 57, char 71
   Message: No character data is allowed by content model

filters-composite-01-b.svg
xmllint:
139: validity error: No declaration for attribute enable-background of 
element g
<g transform="translate(735,230)" enable-background="new" >

fonts-elem-03-t.svg
xmllint:
35: validity error: No declaration for attribute href of element 
font-face-uri
34: validity error: Element font-face-src content does not follow the DTD
Expecting (font-face-name)+, got (font-face-uri )
Xerces:
Error at [...] line 35, char 20
   Message: Unknown element 'font-face-uri'
Error at [...] line 35, char 32
   Message: Attribute 'xlink:href' is not declared for element 
'font-face-uri'
Error at [...] line 36, char 21
   Message: Element 'font-face-uri' is not valid for content model: 
'(font-face-name)+'

fonts-elem-04-t.svg
xmllint:
23: validity error: No declaration for attribute type of element style
23: validity error: No declaration for element style
22: validity error: Element defs content does not follow the DTD
Expecting (desc | title | metadata | animate | set | animateMotion | 
animateColor | animateTransform | g | defs | use | switch | image | path 
| rect | circle |line | ellipse | polyline | polygon | text | a | font | 
font-face)*, got (style)
Xerces:
Error at [...] line 23, char 10
   Message: Unknown element 'style'
Error at [...] line 23, char 16
   Message: Attribute 'type' is not declared for element 'style'
Error at [...] line 38, char 10
   Message: Element 'style' is not valid for content model: 
'(desc|title|metadata|animate|set|animateMotion|animateColor|animateTransform|
g|defs|use|switch|image|path|rect|circle|line|ellipse|polyline|polygon|text|a|
font|font-face)*'

interact-cursor-01-b.svg:
xmllint:
77: validity error: No declaration for attribute cursor of element polygon
<polygon points="240,280 264,252.7 214,252.7" cursor="s-resize"/>

masking-path-04-b.svg
xmllint:
41: validity error: Content model of clipPath is not determinist: ((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)*)
39: validity error: Element clipPath content does not 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 )
Xerces:
Error at [...] 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 Monday, 17 March 2003 18:11:20 UTC