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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: an unfilled need

[ Lists Home | Date Index | Thread Index ]
  • From: Dan Brickley <Daniel.Brickley@bristol.ac.uk>
  • To: "'xml-dev@ic.ac.uk'" <xml-dev@ic.ac.uk>
  • Date: Mon, 6 Sep 1999 18:24:33 +0100 (BST)

On Mon, 6 Sep 1999, Matthew Gertner wrote:

> > But what would it discover?  Stylesheets can already tell you how
> > <foo> should be rendered in a browser.  What other kind of information
> > could reasonably be discovered in the general case besides structural
> > validation rules and possibly simple data-typing?  Neither of those is
> > going to tell my application much about <foo> if it doesn't know about
> > <foo> already.
> 
> Wasn't this exactly the point of Jon Bosak's by-now-classic paper about XML and Java? Maybe
> this has been generally written off as shameless promotion of Sun's interests, but if so this
> seems like a shame to me, since the idea is absolutely brilliant. There should be a way to
> associate tags with Java classes (and preferably a generic mechanism that at least opens up
> the possibility of associating them with code of any kind). The class in question could be
> determined in a number of ways (stylesheet, schema, whatever) and would then consume the
> contents of the element, doing something useful. The nice thing about general-purpose
> programming languages is that this something could be absolutely anything.

While having a mechanism for relating classes (eg.
java:com.goodwebguide.rating) with Web namespaces
(eg. http://rating.goodwebguide.com/ns1/) would doubtless be handy,
this just punts the hard problem into a different arena. Instead of
software agents puzzling over what arbitrary XML data structures might
be telling us, or useful for, they'll be puzzling over what arbitrary
Java bean components can do for us. Mapping into beans is interesting
(eg. we for example get the notion of get/set'able bean properties),
but without taxonomies of java class behaviours, we're just as lost
when dealing with an unknown java classes as with unknown XML data
structures... I don't see any principled difference between these two
problem scenarios: in both case you've got some previously unencountered
Web resource (a URI-nameable thingy) and you want to know what it's
useful for.

Dan



--
Daniel.Brickley@bristol.ac.uk                  
Institute for Learning and Research Technology http://www.ilrt.bris.ac.uk/
University of Bristol,  Bristol BS8 1TN, UK.   phone:+44(0)117-9287096


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