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

RE: Integrity in the Hands of the Client

  • From: Mark Baker <markb@i...>
  • To: Howard Katz <howardk@p...>
  • Date: Fri, 21 Nov 1997 13:38:46 -0500 (EST)

RE: Integrity in the Hands of the Client
On Fri, 21 Nov 1997, Howard Katz wrote:

> Mark, would you mind expanding just a bit on the following paragraph?

Of course not.

> I'm not seeing what your point is:
> 
> 	BTW, this is the same reason that a stream of serialized-to-XML
> Java 
> 	objects won't have a DTD.  The structure of a set of objects is
> only 
> 	guaranteed to be known at runtime.  But these streams will still
> be 
> 	well-formed.

Picture a container Bean (i.e. the GlasgowSpec - a BeanContext).  When 
you design that container, you only know that it will hold other Beans - 
not necessarily which other Beans.  Your container may publish services 
for use by contained Beans.  It might, and likely will, contain Beans that 
were developed after it was developed.  Some of those Beans might also be 
containers.

Now, imagine serializing that container at runtime.  Can you tell me its 
structure *now* (I mean *right* now, as you're reading this - aka design 
time)?  If not, then you can't use a DTD.  The stream itself will be 
responsible for describing the structure implicitly, not some separate 
static DTD.

Isn't this what well-formed XML documents were meant to address?  That 
you could still create self-describing documents even when you didn't 
know the structure a priori?  Based on some of the discussions I've read 
on the list archives, I do get the impression that this capability of 
XML isn't being used to its fullest potential.

> Thanks,

My pleasure.

MB
--
Mark Baker, Ottawa Ontario CANADA.                Java, CORBA, XML, Beans
http://www.iosphere.net/~markb               distobj@a...  ICQ:5100069

   Will distribute business objects for food.


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