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


Help: OASIS Mailing Lists Help | MarkMail Help



   RDF, ID's, XPtrs, and object orientation

[ Lists Home | Date Index | Thread Index ]
  • From: "Jeffrey E. Sussna" <jes@kuantech.com>
  • To: "'XML-DEV'" <xml-dev@ic.ac.uk>
  • Date: Tue, 9 Mar 1999 11:34:25 -0800

I am struggling with the following limitation caused by RDF's use of ID attributes:

I want to use RDF in a truly object-oriented fashion. It lets me get really close but not quite there. I would like to use the "subPropertyOf" element to indicate overriding. However, since property names are ID's, I can't override by name. I could use XPointer to refer to overridden names (in effect referring to "the property whose name is foo and whose class is bar"), but I can't actually define the bar version of foo and the baz version of foo in the same document. Of course, if I could specify a key composed of multiple attributes, my problems would be solved. 

I realize I can also avoid the problem by putting each "class" in a separate document, but this causes problems of its own in my particular application. 

If anyone has a hint as to how to get around this issue, that would be great, otherwise it's just food for thought. 


P.S. I am finding the problem of ID conflicts between "fragments" that need to be created separately and then combined into a single document to be a general one. My approach has been not to use ID attributes, but I don't have a choice if I'm using RDF. I suppose it will work as long as I don't validate, but I really want to validate.

Kuantech, Inc.                            http://www.kuantech.com
Jeffrey E. Sussna, Principal                     jes@kuantech.com

Distributed Content Architectures for Dynamic Online Applications

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 (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe 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