- From: Robin Berjon <robin.berjon@expway.fr>
- Date: Thu, 04 Nov 2004 12:49:59 +0100
- To: "L. David Baron" <dbaron@dbaron.org>
- Cc: www-svg@w3.org
L. David Baron wrote: > On Tuesday 2004-11-02 17:22 +0100, Chris Lilley wrote: >>I don't see that such a statement belongs in the media type registration >>template. I agree that the statement needs to be in the spec. > > So you think that it's within scope of the SVG spec to define the > handling of non-namespaced elements? Or are you proposing a different > way of making the same thing a requirement? I think Chris' point is that yes indeed the SVG spec should say that elements in no namespace that happen to have SVG local names shouldn't be rendered (they might not be in error, but they produce no rendering), but no, the media type registration isn't the right place to make that statement. The fact that major SVG implementations will tolerate documents with no namespace traces back to a mistake that was made to declare the namespace as a defaulted attribute in the DTD. That's bad practice, and was therefore removed but UAs somehow kept it. What's most needed here is a test to flag that out. There'll be one. > Such a document is invalid (and therefore non-conformant) since it > doesn't meet the validity constraint that the DOCTYPE declaration match > the name of the root element [1], since there is no root element. > (I'm not sure whether that's the point you were trying to make. But it > was the reason I cited that section.) I don't think that DTD validity is the best way to phrase this either. -- Robin Berjon
Received on Thursday, 4 November 2004 11:50:30 UTC