Lists Home |
Date Index |
- To: Alan Gutierrez <firstname.lastname@example.org>
- Subject: Re: [xml-dev] Can we treat XML elements and attributes as sets
- From: Mukul Gandhi <email@example.com>
- Date: Sun, 21 Aug 2005 07:10:48 -0700 (PDT)
- Cc: firstname.lastname@example.org
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=KY+40Rx6whCuFZfQY8rg7tHp7PrpKFmubnYJQLxz8e3BLdESWGmho3H4gYZ7dFMpg4cCuLl6yjXHYW0P78P7ldbmKQsVbiURGSYtJcG5ARIIUJx++JOBMIMWDgECTA139TPRhiD6agajdFamRDA2tFXA8/HMwKalMhk51ocOjpk= ;
- In-reply-to: <000001c5a654$7c0f0530$0115a8c0@Elektonika.local>
I am not doubtful about the usefulness of namespaces.
They are immensely useful.. They help us distinuish
between different XML applications, as Elliotte
Thanks for telling about usage of namespaces in SAX
The discussion topic I started was, "can we treat XML
elements and attributes as sets" still eludes me. I
think they should be treated as sets, as we can
perform useful mathematical operations on XML
documents using set operators.
Mike said, we should treat sets in the context of XML
and related specs, as unordered. IMHO, that an over
simplification of the issues(this will have 1-to-1
mapping of XML sets to maths sets. but this I think
will miss the requirement of ordered nature of XML
elements). The XML Schema can define elements, with
order, as well as unordered (using the xs:sequence
construct). Which would I think imply that maintaining
and not maintaining order are both important in XML?
Do I make any sense?
--- Alan Gutierrez <email@example.com> wrote:
> In SAX, no namespace, or the default namespace,
> is represented
> by the empty string. Closer to the set way of
> looking at things.
> In DOM no namepsace is represented by null.
> (Another example of how Namespaces can baffle a
> new user.)
> Alan Gutierrez - firstname.lastname@example.org
> - http://engrm.com/blogometer/index.html
> - http://engrm.com/blogometer/rss.2.0.xml
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around