Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xml-dev] RE: Namespace use cases

From: Michael Ludwig <mlu@---------.--->
To: XML Developers List <xml-dev@-----.---.--->
Date: 7/10/2009 11:36:00 AM
Kurt Cagle schrieb:

> I'd also contend that while most of the people on this list are
> used to the notion that a prefix is essentially just a temporary
> placeholder for a namespace, for many people, especially those
> struggling with XML, a prefix is perceptually carved in stone.
> The "xsl" namespace is for XSL, the "xs" namespace is for XSD
> (or XSDi), the "atom" namespace is for atom

Good point. The namespace-aware XML processor doesn't care when
the XSL namespace is mapped to the "xs" prefix - but it confuses
a lot of humans, like me. It is carved in the mind-stone.

> and these namespaces are immutable. I suspect a part of this
> comes from the fact that in most of the languages that most
> people are exposed to, the closest thing to a namespace is a
> class, and class names in nearly all languages (except XML) ARE
> immutable.

Most languages do not work when arbitrarily mixed with other
languages. (Ask javac to compile Perl.) XML is not a language in
that sense, but, as Ken Holman explains it, a labeled hierarchy.

Being able to combine and recombine instances of this hierarchy to
unforeseen new instances, unmediated by any central registry or
authority, where each component maintains its local and global
identity (its name and nationality) requires the flexibility to
remap prefix tokens along the way.

How could such a mechanism have been made simpler?

Michael Ludwig

_______________________________________________________________________

XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: xml-dev-unsubscribe@l...
subscribe: xml-dev-subscribe@l...
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php



transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent