|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








