[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Status of MicroXML?

  • From: Kurt Cagle <kurt.cagle@gmail.com>
  • To: liam@w3.org
  • Date: Sun, 19 Dec 2010 22:51:55 -0500

Re:  Status of MicroXML?
I don't necessarily think that removing namespaces is the answer. Reforming them is. I think that XQuery is one of the first languages that I've seen where namespace usage begins to approach that used by other programming language, and even there it's primarily because XQuery can be used in an object like context. In general people don't like namespaces because namespaces have a tendency to reflect authority, rather than library organization.

Similarly, I think the XPath fails on this same regard. From a programmer's standpoint:

/bookstore:bookSet/bookstore:book/bookstore:author

seems unduly redundant, and they'd be right; why can't we say

bookstore:/bookSet/book/author

or even

com.mycompany.bookstore:/bookSet/book/author

THAT feels a lot more like most programmers are user to. 

I worry that in the rush to "simplify" XML people are interpreting the problem with namespaces as being that programmers are too stupid to use them. I have to wonder if instead, we've created a namespace notation that is counterintuitive to the way that programmers handle their own namespace issues (and anyone doing OOP deals with namespaces in some fashion or another). 

Kurt Cagle
XML Architect
Lockheed / US National Archives ERA Project



On Sun, Dec 19, 2010 at 10:07 PM, Liam R E Quin <liam@w3.org> wrote:
On Sun, 2010-12-19 at 21:05 -0500, Amelia A Lewis wrote:
[...]
> I liked Liam's catalog.  I don't think that it represents consensus,

Neither do I - my goal was to try and list the main issues that had
been discussed.

> Take the XQuery Data Model.  From the seven node kinds, remove
> 'Namespace' and 'Document'.  Remove everything that follows as a
> consequence.

The XDM is a better starting point than the XML Infoset (which is in
fact no more han a glossary, not a data model at all), but XDM is still
more API-oriented than document/interchange oriented.  There needs to be
a middle ground.

Best,

Liam

--
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: http://irc.sorcery.net http://irc.gnome.org http://www.advogato.org


_______________________________________________________________________

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@lists.xml.org
subscribe: xml-dev-subscribe@lists.xml.org
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]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.