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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   re: storing application state as XML

[ Lists Home | Date Index | Thread Index ]
  • From: "Steve Kearon" <stevek@fineline-software.co.uk>
  • To: <xml-dev@ic.ac.uk>
  • Date: Thu, 24 Jun 1999 09:13:51 +0100

I wrote:

>> When opening a file, we tolerate quite a lot (eg someone could add
>> attributes/elements that we'll ignore).


David Byrden wrote:

>Various issues can arise when you modify
>a class, then try to deserialize objects stored by the
>earlier version. So the decision to ignore unknown attributes
>can become important later on. Have a look at Java Serialisation
>and see how they address it.

I agree. One must take care. Currently, such an "ignore unknown attributes"
is there to facilitate read-only data, and (where practicable)
version-independence in the software. With XML, we get to choose how far we
can force a compatible format, and when we need to add version info. This
was never an option with MFC, and we saw no way of acheiving even limited
forwards-compatibility of file format.

Steve Kearon



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/ and on CD-ROM/ISBN 981-02-3594-1
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