[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: an unfilled need

  • From: Dan Brickley <Daniel.Brickley@b...>
  • To: "'xml-dev@i...'" <xml-dev@i...>
  • Date: Mon, 6 Sep 1999 18:24:33 +0100 (BST)

Re: an unfilled need
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@b...                  
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@i...
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@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)



PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.