Re: XML Namespaces

"Bill Kearney" <[email protected]>
Newsgroups gmane.network.syndication.rss.devel,gmane.network.syndication.atom.syntax
Organization http://www.ideaspace.net/users/wkearney/foaf.xrdf
Message-ID <[email protected]>
> Example:
> xmlns:abc="http://smallpotato.com/"
> xmlns:abc="http://corporategiant.com/"

It should fail to validate.  One can't use the same prefix for a namespace
within the same document.  Anything attempting to 'blend' or otherwise
combine different XML fragments should take care to avoid this.  It's the
namespace URI that's important, not the prefix.  Likewise, one should
generally avoid trying to use the same namespace URI with more than one
prefix in a single document.

This is also why many XML example documents use things like ns0, ns1, ns2
for the prefixes.

You seem to have some sort of strange ideas about how the prefixes and the
namespaces are supposed to work.  That and your questions/comments about
copyright raise a certain sense of suspicion.  As a result you may find a
general resistance from folks in assisting you.  This may not be your
intention, of course.  If you've got some amazingly clever idea on how to
reap riches based on copyright and/or licensing of prefixes and/or
namespaces you may want to prepare yourself for disappointment.  Interop
does not generally lend itself to such things.

-Bill Kearney
Syndic8.com



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/rss-dev/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.