Negative test cases
Ian Hickson
ian at hixie.ch
Sat Feb 4 11:44:26 EST 2006
On Sat, 4 Feb 2006, Cameron McCormack wrote:
>
> Ian Hickson:
> > This document isn't in error. There is only one correct rendering of this
> > document according to SVG Tiny 1.2, and it is the same as this one:
>
> Sorry, I did have in mind an SVG 1.0/1.1 document. I guess that wasn't
> clear from my "...". :-) I'm aware that this would just be an
> "unsupported attribute" or something in SVG Tiny 1.2. Such cases would
> actually be easier to test, I think.
I wouldn't worry about testing SVG 1.0 and 1.1 error handling rules.
Nobody has or will ever implement them; the SVG Tiny 1.2 rules should be
considered the way that SVG 1.0 and 1.1 define error handling.
> > To be honest I can't find any way to make an SVG Tiny 1.2 document be
> > "in error" according to the spec, so this may be a moot point.
> >
> > What cases have you found where an SVG Tiny 1.2 document is in error?
>
> Something like having externalResourcesRequired="true" and having a link
> to a non-existent resource would be one.
In that case, I would raise this as an issue with the working group -- UA
processing shouldn't be left undefined in such cases (especially since
such cases are likely to be common on the Web -- sites and network
connections go down all the time).
--
Ian Hickson U+1047E )\._.,--....,'``. fL
http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,.
Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
More information about the discussion
mailing list