W3C home > Mailing lists > Public > www-svg@w3.org > March 2006

Re: SVG12: createElementNS exceptions

From: Antoine Quint <ml@graougraou.com>
Date: Fri, 3 Mar 2006 15:39:38 +0100
Message-Id: <31987323-1BB5-4708-ACF2-38E3E6A89E36@graougraou.com>
Cc: www-svg@w3.org, SVG WG <w3c-svg-wg@w3.org>
To: Bjoern Hoehrmann <derhoermi@gmx.net>
Hello Bjoern,

On 29 janv. 2006, at 20:49, Bjoern Hoehrmann wrote:

> * Antoine Quint wrote:
>>>   http://www.w3.org/TR/2005/WD-SVGMobile12-20050413/svgudom.html
>>> defines
>>> createElementNS to throw only NOT_SUPPORTED_ERR exceptions, this is
>>> not
>>> compatible with DOM Level 3 Core, e.g. INVALID_CHARACTER_ERR must be
>>> thrown for illegal names, this is tested for many times in the DOM
>>> Test
>>> suite, please change the draft such that compliant  
>>> implementations are
>>> not non-compliant to DOM Level 3 Core in this regard.
>> Thanks for catching this mistake, the following exceptions have now
>> been added to Document::createElementNS() in the uDOM:
>> INVALID_CHARACTER_ERR: Raised if the specified local name is not an
>> XML name.
>> NAMESPACE_ERR: Raised if the qualifiedName is malformed per the
>> Namespaces in XML specification, if the qualifiedName has a prefix
>> and the namespaceURI is null, if the qualifiedName has a prefix that
>> is "xml" and the namespaceURI is different from "http://www.w3.org/
>> XML/1998/namespace", if the qualifiedName or its prefix is "xmlns"
>> and the namespaceURI is different from "http://www.w3.org/2000/
>> xmlns/", or if the namespaceURI is "http://www.w3.org/2000/xmlns/"
>> and neither the qualifiedName nor its prefix is "xmlns".
> Given
>   http://www.w3.org/mid/ 
> udndq1d95lefb1eg9arqsj6bkdfrl2aq2a@hive.bjoern.hoehrmann.de
> it's clear that normative reference should be used to define this.

We have updated the SVGT 1.2 uDOM chapter to only use references to  
DOM Level 3 Core features that are part of the uDOM. Please let us  
know within 2 weeks if this does not address your comment. On behalf  
of the SVG WG,

Antoine Quint  Fuchsia Design
SVG & Client-side XML Consulting
W3C SVG WG Invited Expert

Received on Friday, 3 March 2006 14:39:42 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:07 UTC