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

Valid but Semantically Incorrect

From: Pankaj Kamthan <kamthan@cs.concordia.ca>
Date: Fri, 19 Nov 1999 08:53:10 -0500
Message-Id: <199911191353.IAA11378@spamburger.openface.ca>
To: www-svg@w3.org

Consider the following example:

<?xml version="1.0"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG August 1999//EN" 
<svg width="4in" height="3in">
  <g><circle cx="200" cy="200" r="-100"/></g>

1. Wouldn't this be then a valid SVG document which is semantically incorrect?
2. Does the burden that the attributes take "sensible" values rest on a SVG
conforming processor? 

(This could be a generic problem: one can have an equation of a circle with a 
negative radius (so mathematically not possible) but can still come up with a valid 
MathML markup for it.)

Somehow this wasn't clear from SVG Spec Chapters 7,11 and Appendix D. Any
insight would be most useful.

Pankaj Kamthan
Received on Friday, 19 November 1999 08:53:23 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:53:48 UTC