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-Thread: 103376,fe4dafba9e230b38 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!border2.nntp.ams.giganews.com!nntp.giganews.com!news-hub.cableinet.net!blueyonder!peer-uk.news.demon.net!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: ANN: ASIS2XML 20041024a Date: 24 Oct 2004 18:40:43 +0100 Organization: Pushface Sender: simon@smaug.pushface.org Message-ID: References: <2176299.bixtPgzJXI@linux1.krischik.com> <87pt38njos.fsf@tyger.sharpe-practice.co.uk> NNTP-Posting-Host: pogner.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.demon.co.uk 1098640030 29537 62.49.19.209 (24 Oct 2004 17:47:10 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Sun, 24 Oct 2004 17:47:10 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 Xref: g2news1.google.com comp.lang.ada:5677 Date: 2004-10-24T18:40:43+01:00 List-Id: Ian Sharpe writes: > A transformation to XMI would certainly be interesting, but I think > that in practice such a thing would be specific to both the UML tool > and the intended use. For example it wouldn't allow ColdFrame > round-tripping 8-). I tend to agree; see remarks above. > What kinds of use did you have in mind (both ASIS2XML itself and an > XMI-format representation)? The particular use which drove this was working out how a data structure appears "on the wire" when streamed. Default streams are a great choice when you don't need to know the representation; when you do, it gets more traumatic. I hope people round here won't be too upset if I say that ASIS is a fantastic idea, but the Ada expression of it is _not_ going lead to rapid tool development. How long would it take to set up something to find all the record definitions and process them sorted by type name? The XSLT for that (with ASIS2XML's "schema", where I've just converted the enumeration literals by lowercasing them and removing any leading a_ or an_) is -- Simon Wright 100% Ada, no bugs.