W3C home > Mailing lists > Public > www-tag@w3.org > May 2008

Re: Implementing aria: -- examples and methodology

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Thu, 29 May 2008 16:57:08 +0200
To: ht@inf.ed.ac.uk (Henry S. Thompson)
Cc: <www-tag@w3.org>
Message-ID: <baat349tqrnlqbsu3gr253ingu9klukgip@hive.bjoern.hoehrmann.de>

* Henry S. Thompson wrote:
>Not so, please look again, there are two identical files, one served
>as text/html and the other as application/xhtml+xml.  They both work.

You actually deliver text/html to e.g. Internet Explorer 6 for either.
It is sad to see this thread continue even though you haven't yet pro-
vided the detailed replies and the results from your attribute manipu-
lation tests that you've promised.

What you are proposing is the dynamic equivalent of parsing documents
using namespace-unaware processors, unless you are also proposing some
substantive changes to methods like getAttribute and setAttribute. Can
you tell me what the result of an xslt-transformation(xsltdoc, xmldoc)
is if xsltdoc and xmldoc are parsed with a namespace-unaware processor?

As it is defined, a node created using .setAttribute('x:y', 'example')
has neither namespace name nor local name. What is the XPath syntax to
select an attribute that has neither namespace name nor local name?

Some implementations handle this contrary to the DOM specification and
will instead create a node that has a local name of 'x:y' and is in no
namespace. What does an attribute in no namespace with the local name
'x:y' and an empty prefix look like in XML syntax?

The DOM Level 1 methods create nodes that are incompatible with any and
all namespace-sensitive technology -- unless you change their definition
in some way, so I was hoping there was more to your proposal than you've
revealed so far. If there isn't, you should probably note this problem
in your proposal.
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Thursday, 29 May 2008 14:57:49 UTC

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