Re: SVG Script in Firefox troubles
Chris Lilley <[email protected]> Wed, 14 Oct 2009 08:52:55 +0200
| Newsgroups | gmane.comp.mozilla.devel.svg |
|---|---|
| Organization | W3C |
| Message-ID | <[email protected]> |
On Tuesday, October 13, 2009, 3:21:49 PM, Boris wrote:
BZ> On 10/13/09 5:36 AM, Dale Ellis wrote:
>> tri.setAttributeNS('http://www.w3.org/2000/xlink/namespace/',
BZ> I have no idea where you got that namespace string. The right namespace
BZ> is "http://www.w3.org/1999/xlink".
BZ> The fact that this works in the Adobe SVG viewer is slightly astounding...
Yes :) but I think I understand why ...
Due to it's age, ASV supported several older working drafts of SVG as well as the eventual recommendation. Early drafts had the namespaces declared as fixed attributes in the DTD, meaning they could not be changed (and did not need to be declared in the svg file itself).
It would have been better if they had removed support for old working draft features once the final Recommendation was released.
--
Chris Lilley mailto:[email protected]
Technical Director, Interaction Domain
W3C Graphics Activity Lead
Co-Chair, W3C Hypertext CG