[Home] [By Thread] [By Date] [Recent Entries]

  • From: Matthew Gertner <matthew@p...>
  • To: David Megginson <david@m...>
  • Date: Mon, 06 Sep 1999 19:05:47 +0200

> 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.

Matthew



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...)



Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member