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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: XML and Objects

[ Lists Home | Date Index | Thread Index ]
  • From: David Brownell <db@Eng.Sun.COM>
  • To: xml-dev@ic.ac.uk
  • Date: Tue, 29 Sep 1998 10:22:43 -0700

Alex Thomas asked:
> I'd also like to know if there's a reason a bean couldn't use specific
> property names, 
> 
> > <PROPERTY NAME="prop2" DCD:string>hello world</PROPERTY>
> 
> becoming
> 
> <PROP2>hello world</PROP2>

The version I sketched has a fixed DTD and you could validate
against it, while still sending arbitrary data.

If you have different element names for each property, you're
either saying that each bean has a different DTD, or that you
are not validating.

Tradeoffs!  That's three different ways to "serialize" in two
sentences ...

- Dave

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