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

RE: Another "Against the Grain" column on XML

  • From: Mike.Champion@S...
  • To: xml-dev@l...
  • Date: Wed, 08 Aug 2001 13:35:53 -0400

xml bill of materials
 
Well, speaking of complexity.... I'm largely a document person ...  I suggest that RDBMS are wonderfully designed for beancounting, and that as soon as you try to start dealing with the real world instead of making the world deal with your data structures, an RDBMS doesn't look so wonderful. 
 That's a good point.  Even very simple business "documents" (invoices, catalog entries, etc.) can easily run to 20-25 tables when fully normalized.  I can't even begin to imagine what the DocBook schema would normalize into!  (And remember, we're talking about a critique from a relational purist who doesn't like the various "post-relational" techniques to minimize normalization complexity any more than he likes XML!)
 
Furthermore, real "documents" tend to throw the relational model other curves, such as mixed content and recursive content models.  The "Professional XML Databases" book goes into some detail on how to represent such things in relational tables, but after stepping back to examine the complexity of the process and the difficulty of the results, pretty much concludes "don't DO that", i.e. try not to use mixed content or recursion in schemas for data you want to store in an RDBMS. Recursive content models (think of the classic "bill of materials" example) can be relatively easy to normalize, but extremely difficult to query with SQL. (Pascal has a whole chapter on this subject, and basically argues that a hypothetical pure relational query language could handle this better than SQL can .... gee, thanks for the helpful advice!) If you don't have the luxury of simplifying the schema to eliminate mixed content and recursion, I guess you've got problems (and <self-serving-plug> you probably want to look at a native XML DBMS </self-serving-plug>).
 
I like the Turing Machine analogy ... sure you can formally model any program as a TM, and you can model any document in 3rd normal form ... but how often does either fact give you practical guidance for building a real system?
 

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.