CARVIEW |
Select Language
HTTP/2 200
date: Fri, 10 Oct 2025 17:03:24 GMT
content-type: text/html
content-encoding: gzip
last-modified: Thu, 13 Jul 2023 17:40:53 GMT
cache-control: max-age=2592000, public
expires: Sun, 09 Nov 2025 08:49:44 GMT
vary: Accept-Encoding
access-control-allow-origin: *
x-request-id: 98c4ddbbc882a12e
strict-transport-security: max-age=15552015; preload
x-frame-options: deny
x-xss-protection: 1; mode=block
cf-cache-status: HIT
set-cookie: __cf_bm=uGNTZqkpu5yomvRi9QfN7RYHhvqOkaGsVdiARq5nwvw-1760115804-1.0.1.1-uUJrP6vY7hYPYvbjmn7F.KqlmEm3ec3dfvFGbptII4fQ4RJ4QMK3PvyFsDbObLA5mTzbToxeOQ12oxMH2CX2piRuQ8jyuLUQr9g7vphINH4; path=/; expires=Fri, 10-Oct-25 17:33:24 GMT; domain=.w3.org; HttpOnly; Secure; SameSite=None
server: cloudflare
cf-ray: 98c7b0de2d559dfa-BLR
alt-svc: h3=":443"; ma=86400
Re: Hesitation on setAttributeNS from Andrew Clover on 2003-12-10 (www-dom@w3.org from October to December 2003)
Re: Hesitation on setAttributeNS
- From: Andrew Clover <and-w3@doxdesk.com>
- Date: Wed, 10 Dec 2003 16:58:49 +0000
- To: www-dom@w3.org
- Message-ID: <20031210165849.GB4308@doxdesk.com>
Robin Berjon <robin.berjon@expway.fr> wrote: > whether it is legal to use it with a defined nsURI, and a qName that > doesn't contain a prefix part. Sure it is. For example, the element in '<a xmlns="a"/>' has a non-null namespaceURI but no prefix. It must be possible to create the element by DOM methods without having to create the namespace declaration attribute. > Most implementations seem to accept it, and then fail to serialise it > properly. Up until DOM Level 3, there was nothing to say how (if at all) namespace fixup should be done in this case. This is better defined in the latest specs (dependent on the value of the 'namespaces' parameter to DOMConfiguration, an imp might be expected to do the fixup on serialisation and/or normalisation), with a suggested algorithm, so imps should hopefully become more standardised on this issue. > or it is clearly allowed, with indication of how the implementation may > produce the prefix See https://www.w3.org/TR/2003/CR-DOM-Level-3-Core-20031107/namespaces-algorithms.html -- Andrew Clover mailto:and@doxdesk.com https://www.doxdesk.com/
Received on Wednesday, 10 December 2003 12:17:26 UTC