id attributes, namespaces and possible coding errors

It seems to me, if I understand the current WD correctly, that more than one 
example contains coding errors relating to id attributes.

If I am reading the WD correctly then id attributes are subsumed into 
"Common" attributes described in 3.2.1 and which are provided by host 
languages, according to 3.2.1.

If the host languages provide these id attributes (the WD doesn't quite say 
that, but refers to attributes of type xsd:ID) then are those id attributes 
in the namespace of the host language?

It seems, to me at least, reasonable that they are.

However, coding examples such as the example in Chapter 2.1 show id 
attributes with no namespace prefix. ... Quite reasonably a reader would 
assume that the id attributes belong (natively?) to the XForms element on 
which they are situated.

Should the example in 2.1 (and other similar examples) more correctly show 
html:id attributes or svg:id attributes - since 3.2.1 states that the type 
xsd:ID attributes come from the host language?

Am I totally misunderstanding this?

What is the point of this seeming complexity? Why not much more simply allow 
some/all XForms elements to have an id attribute?

Andrew Watt

Received on Thursday, 29 August 2002 10:41:46 UTC