Lists Home |
Date Index |
- To: Michael Kay <firstname.lastname@example.org>
- Subject: Re: [xml-dev] Can we treat XML elements and attributes as sets
- From: Anne Thomas Manes <email@example.com>
- Date: Sun, 21 Aug 2005 18:14:00 -0400
- Cc: Mukul Gandhi <firstname.lastname@example.org>, email@example.com
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=LCWLH7APeQMVH/UfQCf8f+IYSQJ2gO7Uz1QwYQkpiGJh6LTkqefOr2diYCR2j6psI5wgtqICOIieUud6vj0TWBcu4lAmiLF0jpM7Ksc0kyem0zoqR4hl6uMHmKWms0jBFHB87xmOSfVWBcKiP5d/2gmd6/SAF9QlhknzkHSxUSk=
- In-reply-to: <43087068.4b1c52be.2b88.ffffb7c6SMTPIN_ADDED@mx.gmail.com>
- References: <firstname.lastname@example.org> <43087068.4b1c52be.2b88.ffffb7c6SMTPIN_ADDED@mx.gmail.com>
I don't think it's appropriate to consider an element with an
unqualified name as being in a namespace with no name. As Elliotte
said at one point in this thread:
> Elements with the same name but different URIs are different kinds of elements.
> Elements with the same name and the same URI are the same kind of element.
If you go with the reasoning that elements with no namespace are
elements in the namespace with no name, then the following two
elements would be the same kind of element, when obviously they are
On 8/21/05, Michael Kay <email@example.com> wrote:
> > Thanks Mike for clarification, and more information..
> > I did'nt knew namespace URIs could be null.
> The namespace URI property of an element or attribute node can be null,
> meaning that the element or attribute is "not in a namespace". What I'm
> saying is that it's often more convenient to regard such elements/attributes
> as being in a namespace, a namespace with no name, and Elliotte's model
> which you quoted seems to treat them that way.
> Michael Kay
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
> The list archives are at http://lists.xml.org/archives/xml-dev/
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://www.oasis-open.org/mlmanage/index.php>