comp.lang.ada
 help / color / mirror / Atom feed
* Re: Ada Component Registry proposal
@ 2003-10-23 16:16 Robert C. Leif
  2003-10-24 11:48 ` Georg Bauhaus
  0 siblings, 1 reply; 57+ messages in thread
From: Robert C. Leif @ 2003-10-23 16:16 UTC (permalink / raw)
  To: comp.lang.ada, rieachus

    
    Why are you using a DTD, which is the antithesis of Ada? A schema which
is the semantic equivalent (translation) of a collection of Ada types would
be far more appropriate. 
    Bob Leif
    Robert C. Leif, Ph.D.
    Email rleif@rleif.com
    ------------------------------------------------
    Robert I. Eachus Wrote:
    
    Don't worry about it.  I said that I thought that the first version of 
    the XML document was not something I would be comfortable posting, but I

    would send copies to anyone who wanted to review it.  Stephane Richard 
    was willing to do so.  Unless there are significant changes, or more 
    people who want to take a shot at the current XML state, I will probably

    post version 0.2 to comp.lang.ada tomorrow.  Another potential delay is 
    that I am probably going to write an XML to HTML converter this weekend,

    so you can look at the HTML to make comments.
    
    No intent to exclude anyone, but XML is still not all that common a 
    language, and I felt the intersection of those who knew XML well enough 
    to comment, and were also interested in the registry project would be 
    pretty small.  Hmmm.  Actually, why not?  Here is the current XML 
    DOCTYPE, and the start of the registry declaration.  If you want a 
    snapshot of the whole thing, send e-mail.  But, please, only if you are 
    willing to read it and comment.:
    
    <?xml version="1.0" encoding="UTF-8" standalone=yes ?>
    <!DOCTYPE Ada_Component_Registry [
    <!-- Version 0.2 Doctype Copyright 2003 by Robert I. Eachus, copying 
    allowed, all other rights reserved for now. -->
       <!ELEMENT Registry (Author*, Project+, Entry+) >
       <!ATTLIST Registry
           Name         CDATA  #REQUIRED
           Version      CDATA  #REQUIRED
           Website      CDATA  #IMPLIED
           Copyright    CDATA  #REQUIRED
       >
       <!ELEMENT Project (Author*, Requires*, Supports*, Description?)
       <!ATTLIST Project
           Name         CDATA  #REQUIRED
           Version      CDATA  #IMPLIED
           Website      CDATA  #IMPLIED
           Bug_Reports  CDATA  #REQUIRED
           Copyright    CDATA  #REQUIRED
       >
       <!ELEMENT Entry (Author+, Description?, Requires*, Supports*, 
    Contents?)
       <!ATTLIST Entry
           Name      CDATA  #REQUIRED
           Project   CDATA  #REQUIRED
           Version   CDATA  #IMPLIED
           Source    CDATA  #IMPLIED
           Copyright CDATA  #IMPLIED
       >
       <!ELEMENT Author>
       <!ATTLIST Author
           Name      CDATA  #REQUIRED
           Email     CDATA  #IMPLIED
           Telephone CDATA  #IMPLIED
           Company   CDATA  #IMPLIED
           Address   CDATA  #IMPLIED
       >
       <!ELEMENT Compiler >
       <!ATTLIST Compiler
                 Name    CDATA   #REQUIRED
                 Version CDATA   #IMPLIED
       >
       <!ELEMENT Contents (#PCDATA )>
       <!ELEMENT Database>
       <!ATTLIST Database
                 Name    CDATA   #REQUIRED
                 Version CDATA   #IMPLIED
       >
       <!ELEMENT Date (((Month, Day?)?, Year)|#PCDATA)>
       <!ELEMENT Description (#PCDATA )>
       <!ELEMENT Full_Name (#PCDATA )>
       <!ELEMENT Language
       <!ATTLIST Language
                 Version (Ada80 | Ada83 | Ada95 | Ada2000 | Ada0X) "Ada95"
       <!ELEMENT OS>
       <!ATTLIST OS
                 Name    CDATA   #REQUIRED
                 Version CDATA   #IMPLIED
       >
       <!ELEMENT Project_Name (#PCDATA ) >
       <!ELEMENT Requires (Project_Name|Compiler|OS|Hardware)+ >
       <!ELEMENT Supports (Language_Version|Compiler|OS|Hardware)+ >
       <!ELEMENT Root_Name (#PCDATA )>
       <!ELEMENT URL (#PCDATA ) >
       <!ELEMENT Version (#PCDATA)>
       <!ATTLIST Version Date CDATA >
       <!ELEMENT Website (#PCDATA) >
    ]>
    
       <Registry Name="Ada Component Registry"
                 Version="0.2"
                 Copyright="Copyright 2003 by Robert I. Eachus, copying 
    allowed, all other rights reserved for now."
       >
    
    -- 
                                                 Robert I. Eachus
    
    "Quality is the Buddha. Quality is scientific reality. Quality is the 
    goal of Art. It remains to work these concepts into a practical, 
    down-to-earth context, and for this there is nothing more practical or 
    down-to-earth than what I have been talking about all along...the repair

    of an old motorcycle."  -- from Zen and the Art of Motorcycle 
    Maintenance by Robert Pirsig
    
    
    
    




^ permalink raw reply	[flat|nested] 57+ messages in thread
[parent not found: <3F9879C0.9040209@myob.com>]
* Ada Component Registry proposal
@ 2003-10-19 17:16 Robert I. Eachus
  0 siblings, 0 replies; 57+ messages in thread
From: Robert I. Eachus @ 2003-10-19 17:16 UTC (permalink / raw)


  I  put together an XML DOCTYPE for a Ada Component Registry, and tried 
it out on GNADE. If a couple of people who understand XML would like to 
look at it and criticize, I'll send you a copy. But right now I consider 
it too preliminary to let loose in the wild. I'll probably have a much 
better worked out version by the end of next week. (Oops! Mental note to 
self,  the registry itself needs a version number. ;-)

I picked GNADE as a test case though, expecting it to be a decent stress 
 test. Boy was it! For me as well as the XML grammer. I'd like to 
comment on a few things that I found and what they mean for a formal 
registry, or for the Common Ada Library.

One of the things that the registry does is makes the zip or tar or 
 whatever file that you can download more accessable. Much more 
accessable. Amazingly more accessable. GNADE as delivered has over a 
 dozen directories and if you actually compile it, creates a few more. 
(And just to confuse you puts some stuff into existing directories 
outside the GNADE structure.) With the registry, you can look and see 
that most of the source files are children of GNU.DB, and that package 
declaration can be found in ../gnade-src-1.4.3a/support. The problem 
though can be found in that word most.  There is also a separate OCI  
root for an Oracle binding, and over a dozen packages and programs at 
the library level that can conflict with other bindings.  These include 
such wonderful names as Parser, Scanner, SQL, ODBC,  and Tools.

Am I saying that GNADE is horribly organized?  No.  Just that GNADE is a 
excellent example of why a registry is needed.  If there were a standard 
place for a database interface packages--I would prefer 
Interfaces.Xxxxx, but that is a detail--then GNADE could provide some of 
those packages and mix and match with implementations of such packages 
from elsewhere.  And GNU.DB.Support would disappear as GNADE moved to 
using more standard implementations of tables and lists.  Finally, the 
scanner and parser that GNADE provides to support embedded SQL could be 
reused by other projects that have nothing to do with databases.

But all of this has to be understood in terms of encouragement and 
process.  GNADE is not going to adopt major changes just because I say 
they should.  But the existance of a useable registry and "standard" 
Common Ada Library would encourage the GNADE authors to evolve their 
code in directions that will make it easier to reuse.

-- 

                                                    Robert I. Eachus

"Quality is the Buddha. Quality is scientific reality. Quality is the goal of Art. It remains to work these concepts into a practical, down-to-earth context, and for this there is nothing more practical or down-to-earth than what I have been talking about all along...the repair of an old motorcycle."  -- from Zen and the Art of Motorcycle Maintenance by Robert Pirsig




^ permalink raw reply	[flat|nested] 57+ messages in thread
* Ada Component Registry proposal
@ 2003-10-19 16:41 Robert I. Eachus
  2003-10-19 16:44 ` Stephane Richard
                   ` (4 more replies)
  0 siblings, 5 replies; 57+ messages in thread
From: Robert I. Eachus @ 2003-10-19 16:41 UTC (permalink / raw)


I put together an XML DOCTYPE for a Ada Component Registry, and tried it 
out on GNADE. If anyone who understands XML would like to look at it and 
criticize, I'll send you a copy.  But right now I consider it too 
preliminary to let loose in the wild.  I'll probably have a much better 
worked out version by the end of next week.  (Oops! Mental note to self, 
the registry itself needs a version number. ;-)

I picked GNADE as a test case though, expecting it to be a decent stress 
test.  Boy was it!  For me as well as the XML grammer.  I'd like to 
comment on a few things that I found and what they mean for a formal 
registry, or for the Common Ada Library.

One of the things that the registry does is makes the Zip or tar or 
whatever file that you can download more accessable.  Much more 
accessable.  Amazingly more accessable.  GNADE as delivered has over a 
dozen directories and if you actually compile it, creates a few more. 
(And just to confuse you puts some stuff into existing directories 
outside the GNADE structure.)  With the registry, you can look and see 
that most of the source files are children of GNU.DB, and that package 
declaration can be found in


-- 
                                                     Robert I. Eachus

"Quality is the Buddha. Quality is scientific reality. Quality is the 
goal of Art. It remains to work these concepts into a practical, 
down-to-earth context, and for this there is nothing more practical or 
down-to-earth than what I have been talking about all along...the repair 
of an old motorcycle."  -- from Zen and the Art of Motorcycle 
Maintenance by Robert Pirsig




^ permalink raw reply	[flat|nested] 57+ messages in thread

end of thread, other threads:[~2003-10-26 21:54 UTC | newest]

Thread overview: 57+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-23 16:16 Ada Component Registry proposal Robert C. Leif
2003-10-24 11:48 ` Georg Bauhaus
     [not found] <3F9879C0.9040209@myob.com>
2003-10-24  3:03 ` Alexandre E. Kopilovitch
  -- strict thread matches above, loose matches on Subject: below --
2003-10-19 17:16 Robert I. Eachus
2003-10-19 16:41 Robert I. Eachus
2003-10-19 16:44 ` Stephane Richard
2003-10-21 20:45 ` sk
2003-10-22  0:28   ` Robert I. Eachus
2003-10-22  2:26 ` sk
2003-10-22  3:38   ` Robert I. Eachus
2003-10-22 10:35     ` Stephane Richard
2003-10-22 16:58       ` Robert I. Eachus
2003-10-22 17:06         ` Stephane Richard
2003-10-22 23:14         ` Georg Bauhaus
2003-10-22 13:11     ` Marin David Condic
2003-10-22 13:51       ` sk
2003-10-22  4:26 ` sk
2003-10-22 11:14   ` Jeff C,
2003-10-22 11:34     ` Stephane Richard
2003-10-22 12:23       ` sk
2003-10-22 17:09         ` Robert I. Eachus
2003-10-22 19:13           ` sk
2003-10-23  2:17             ` Robert I. Eachus
2003-10-23  5:20               ` sk
2003-10-23 14:39                 ` Robert I. Eachus
2003-10-22 12:12     ` sk
2003-10-23  5:41 ` sk
2003-10-23 15:01   ` Robert I. Eachus
2003-10-23 19:03     ` Alexandre E. Kopilovitch
2003-10-23 23:58     ` sk
2003-10-24  1:02       ` Robert I. Eachus
2003-10-24  1:18         ` Stephane Richard
2003-10-24 13:23         ` sk
2003-10-24 13:30           ` Stephane Richard
2003-10-24 15:11             ` sk
2003-10-24 17:12               ` Robert I. Eachus
2003-10-25  0:03                 ` sk
2003-10-25 17:43                   ` Robert I. Eachus
2003-10-25 18:53                     ` Marius Amado Alves
2003-10-25 21:11                       ` Marin David Condic
2003-10-25 21:23                         ` Robert I. Eachus
2003-10-25 21:28                           ` Marin David Condic
2003-10-26  0:24                             ` Stephane Richard
2003-10-26 13:36                               ` Marin David Condic
2003-10-26 16:02                                 ` Martin Dowie
2003-10-26 16:45                                   ` sk
2003-10-26 21:54                                   ` Marin David Condic
2003-10-26 16:34                                 ` Stephane Richard
2003-10-26  2:28                     ` sk
2003-10-26 18:11                       ` Robert I. Eachus
2003-10-26 18:34                       ` chris
2003-10-24 17:31             ` tmoran
2003-10-24 17:50         ` Alexandre E. Kopilovitch
2003-10-25 17:48           ` Robert I. Eachus
     [not found]     ` <mSBO2c_KxF@vib.usr.pu.ru>
2003-10-24  1:00       ` sk
2003-10-24 13:39     ` sk
2003-10-24 17:18       ` Robert I. Eachus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox