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

RE: Lesson Learned: Use namespaces for both markup anddata

  • From: "Glidden, Douglass A" <Douglass.A.Glidden@boeing.com>
  • To: <xml-dev@lists.xml.org>
  • Date: Wed, 12 Aug 2009 08:03:14 -0400

RE:  Lesson Learned: Use namespaces for both markup anddata
Okay, perhaps I should have worded that a little differently:  Using QNames in data dangerously de-atomizes the data.  I used the word "metadata" before because a namespace prefix by itself can never really be considered data; outside of an XML parser it is completely useless, and within the parser it functions only as a pointer to a namespace identifier.

Doug Glidden
Software Engineer
The Boeing Company
Douglass.A.Glidden@boeing.com


On Wed, Aug 12, 2009 at 4:20 AM, Michael Kay <mike@saxonica.com> wrote:

>
> I definitely don't agree with Roger's idea of using QNames in
> data, either, though-IMHO that dangerously mixes metadata with data.
>

But the notion that metadata and data can be separated is itself deeply
flawed. If I have two lines of business, "product sales" and "services", are
these two things data or metadata? You'll find some systems in which they
are data (rows), others in which they are metadata (columns). Similarly, if
I have three kinds of personnel, "salaried", "hourly-paid", and
"contractors". Or if I have 23 kinds of asset on the books, or 592 kinds of
equipment, I will sometimes want to treat these as types and sometimes as
instances. Mixing metadata and data is something we have to live with.
Functional data models rightly eliminate the distinction.

Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay




[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.