From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e0b85aa2bdf012f2 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-03-28 10:45:11 PST Date: Fri, 28 Mar 2003 19:45:01 +0100 From: =?ISO-8859-1?Q?Rodrigo_Garc=EDa?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020513 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Ada Streams representation - XML References: <3e83277e@epflnews.epfl.ch> <3E834822.6000005@psu.edu> <3e841acf$1@epflnews.epfl.ch> <3E846E58.3080905@psu.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: lglpc31.epfl.ch Message-ID: <3e849834$1@epflnews.epfl.ch> X-Trace: epflnews.epfl.ch 1048877108 128.178.76.8 (28 Mar 2003 19:45:08 +0200) Organization: EPFL Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news.mailgate.org!news-zh.switch.ch!epflnews.epfl.ch!not-for-mail Xref: archiver1.google.com comp.lang.ada:35799 Date: 2003-03-28T19:45:01+01:00 List-Id: Robert Spooner wrote: > The important thing to remember is that the stream representation (which > can be whatever you want so long as it can be represented in an array of > Stream_Element) is associated with the type, not the stream itself. Yes, we agree, that is one of the limitations I was talking about: you cannot serialize an object of a specific type using different representations (i.e. you cannot have two different 'Write procedures for the same type). Thank you for your ideas and experiences, Rodrigo