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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: Object-oriented serialization (Was Re: Some questions)

[ Lists Home | Date Index | Thread Index ]
  • From: David Megginson <david@megginson.com>
  • To: Matthew Gertner <matthew@praxis.cz>
  • Date: 02 Dec 1999 06:43:12 -0500

Matthew Gertner <matthew@praxis.cz> writes:

> I honestly feel that XML provides all the tools to do what RDF is trying
> to do, without an additional syntactic layer. What is missing from the
> picture is a mechanism for modelling object structures according to
> object-oriented principles, and this is why an OO schema language is
> necessary. 

If you have a function loadXML(), you get a DOM tree or a bunch of SAX
events or something similar; if you have a function loadRDF(), you get
a collection of objects with attributes and relationships.  In either
case, a schema can tell you things like "element type/class B is a
kind of element type/class A", but that's secondary information; the
primary information is "element X is an object of class Y with
identifier Z, while element A represents a relationship between this
object and object C".

If you're interested in a collection of objects in the first place,
why should you have to see or know about XML elements and attributes
at all?  Or to put it a different way, why should people constantly
have to redo the work of extracting objects from XML, when they're all
trying to do the same thing?

I think that reasonable people can argue that RDF is not the best
solution to the problem of object exchange in XML, but I am somewhat
surprised to hear people deny that the problem even exists: there is
an enormous demand for exchanging objects in XML (businesses exchange
a lot of structured data), and it's hard work to have to figure out
over and over how to construct objects from a SAX stream or a DOM tree
especially when programmers with XML knowledge are scarce and
expensive.  

I have no doubt that we need an abstract object layer on top of XML.
Right now, RDF is the best solution currently available (XMI also has
its advocates), but I'm ready to listen about anything better.


All the best,


David

-- 
David Megginson                 david@megginson.com
           http://www.megginson.com/

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo@ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)






 

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

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