[Home] [By Thread] [By Date] [Recent Entries]

  • From: Kurt Cagle <kurt.cagle@g...>
  • To: XML Developers List <xml-dev@l...>
  • Date: Wed, 8 Jul 2009 17:17:34 -0700

Michael,

I daresay you're probably correct on horrid namespaces.

Kurt Cagle
Managing Editor
http://xmlToday.org


On Wed, Jul 8, 2009 at 5:00 PM, Michael Ludwig <milu71@g...> wrote:
Kurt Cagle schrieb am 08.07.2009 um 14:30:34 (-0700):

> [...] the redundency inherent in ns prefixes. Perhaps something along
> the lines of
>
> <html>
>    <nsinclude xmlns:my="http://www.myvocabulary.com/xmlns/mynamespace" map="
> http://www.w3.org/1999/xhtml"/>
>    <nsinclude xmlns:foo="http://www.myvocabulary.com/xmlns/foonamespace"
> map="http://www.w3.org/1999/xhtml"/>

Unqualified opinion ahead:

The one truly horrible thing about namespaces is the horrible
convention adopted of making them way too complicated for the
eyeball to parse easily with no obvious benefit at all. (And not
even hidden benefits, I think.)

Why can't people just make them simpler? Like Java packages?

 <Urmel xmlns="de.milu.ns.eins"/>
 <mv:bla xmlns:mv="com.myvocabulary.mynamespace"/>

Prefixes and declarations aren't the problem. Unreadable URIs are.

So conditioned by frustration and wasted time, whenever something
doesn't work, one of the first things I see coming to mind is to
double-check the bloody namespace URIs. *Double-check* - because
one quick glance is not enough when dealing with these long-winded
URIs.

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




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member