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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: Integrity in the Hands of the Client

[ Lists Home | Date Index | Thread Index ]
  • From: Mark Baker <markb@iosphere.net>
  • To: Howard Katz <howardk@paradigmdev.com>
  • Date: Fri, 21 Nov 1997 13:38:46 -0500 (EST)

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@acm.org  ICQ:5100069

   Will distribute business objects for food.


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