OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   RE: [xml-dev] An alternative formulation of thedocument-centric/data-cen

[ Lists Home | Date Index | Thread Index ]
  • To: Sean McGrath <sean.mcgrath@propylon.com>, xml-dev@lists.xml.org
  • Subject: RE: [xml-dev] An alternative formulation of thedocument-centric/data-centric XML divide
  • From: "Kirkham, Pete (UK)" <pete.kirkham@baesystems.com>
  • Date: Thu, 03 Jun 2004 12:57:52 +0100
  • Thread-index: AcRJUgqJxM+eUX7IRjmqLbd1hm/f7AABXPBQ
  • Thread-topic: [xml-dev] An alternative formulation of thedocument-centric/data-centric XML divide

I would expect most data XML to be approx. power law too, as you are have more nested elements under each element (in the simplest case: db:1, table:t, row:t*(rows per table), field:rows*(f=fields per table)), and typically t and f are small (say 7), but the number of rows is large, so for ~n elements root:1, level1: ~7, level 2:n/7, level3:n. So perfect power law for n~=350. If the tag names for fields differ, then the frequency of each tag ends up more evenly spread out between tags on the same level, but the cumulative distribution should still be approximatly a power law between levels.

For more structured data then similar distributions can be seen- for each element that is a container, there will be a few properties, for each property that is multivalued, many child elements. Mixed text abbreviates away some of the multivalued property tags, but still the container-contained 1:many relationship should hold.

Doing a quick count on two data oriented XML files of the same data sets (mtbf of a fuel system)- one derived straight from a database, the other from an XMI instance of the same data (which uses attributes instead of nesting elements for some properties)- give the frequencies, which look similar:

XMI data (single value properties as attributes)

XML data (properties as child elements, elements named after properties)

And for a different data set (XMI model for an application):


This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS