RE: QName encoding

Hi Franck,

A zero length String is literally a String with length zero, the one
commonly referred as "".

As for the definition of qname as it is used in EXI specification,
please refer to the paragraph that is at:
http://www.w3.org/TR/2008/WD-exi-20080919/#key-qname

When a qname is in no namespace, the namespace mechanism available
in XML (which is described in XML Namespace specification) does not
permit the use of a prefix, therefore the prefix should also be a zero
length String as you pointed out.

Hope it helps,

-taki


-----Original Message-----
From: public-exi-request@w3.org [mailto:public-exi-request@w3.org] On Behalf Of DENOUAL Franck
Sent: Thursday, January 08, 2009 5:41 AM
To: public-exi@w3.org
Subject: QName encoding


Dear EXI members,

I have a remark concerning the 7.1.7 QName section of the current Working Draft.
The last sentence of the second paragraph says: " If the QName is in no namespace, the URI is represented by a zero length String."

Does it mean that the URI of such QName to consider is "":"", i.e. empty prefix with empty URI ?
I think it would be good to clarify the notion of "zero length String" since it is mentionned only there.

Regards,

--
    Franck.

Received on Tuesday, 10 February 2009 23:05:13 UTC