I argue that regardless of if the XML is for "data" or "documents" ( whos intersection is not the empty set, IMHO), that in fact the XML model can be quite coupled to the application and may need transformations even if the data is generic or abstract. A simple example.
Very frequently large datasets are stored in XML documents as horrendously large single documents with vast replication of one or more child elements like <root> <data> ... <data> ... ... a million times over </root> This is very convenient for some applications but horrible for others. For example this may produce a file simply too big to read into some applications or is non ideal for an XML Database. But it may be ideal for streaming processing, file transfer and packaging. Transforming this file into different formats (say for example splitting it into a million smaller docs) may be better for some applications. Similarly simple transformations may help with some applications such as combining fields, moving attributes elements or visa-versa ...due to pecurlaritities of the application. You may even be able to translate "Proprietary Schema A" into "Universal Schema B" so that Application B can read it. So I conclude that it is not the case that universally "data XML" should tuned for a single application and not translated. Not all applications (in both senses of the word) of Data are alike even if the underlying data is alike. ---------------------------------------- David A. Lee From: Peter Hunsberger [mailto:peter.hunsberger@gmail.com]
If XML is being used for document interchange then your XML design is predicated by the document formatting and content you wish to capture in your document. However, you seem to be aiming this at the data interchange
world? If so, the question is the question you seem to be circling around is; should XML data interchange formats directly reflect the data models they are transporting? Given that this is data and not, therefore, an end product intended for humans I'd vote
that the XML design should come after the data models are optimized for their various business purposes. The XML will then hopefully be as efficient of serialization of those models as possible. Note that, in my opinion, good data models are also not optimized
for, or specific to, any one program. As I've noted before, _good_ data models span enterprises, least of all individual programs... As to your last question, I certainly don't think applications should transform XML into forms that make it inefficient to process (duh)!
Peter Hunsberger
On Tue, Nov 19, 2013 at 4:41 AM, Costello, Roger L. <costello@mitre.org> wrote: Hi Folks, |