[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Not invented here.
Bill de hÓra wrote:
Greg Stein wrote:
On Tue, Jun 08, 2004 at 01:11:12PM -0700, Russell Beattie wrote:
...
If this is the case (that Atom is adding only a very small number of
tags) why isn't Dublin Core the default namespace? Makes it a lot
cleaner...
That is simply how somebody writes it down. It doesn't matter whether it
is the default namespace of not.
Yes it does.
An XML parser won't present it to the
computer as "oh, this was the default namespace".
A (namespace aware) XML parser has to do exactly that. A default
namespace effects different scoping rules to prefixed namespaces [1].
I don't think that is what was being referred to. I believe
the assertion was that the following two documents
are equivalent to the consumer post-XML parsing:
<feed
xmlns="xmlns="http://purl.org/atom/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<dc:title>dive into mark</dc:title>
</feed>
<atom:feed
xmlns:atom="xmlns="http://purl.org/atom/ns#"
xmlns="http://purl.org/dc/elements/1.1/">
<title>dive into mark</title>
</atom:feed>
-joe
--
http://BitWorking.org
http://WellFormedWeb.org