[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [GNUe] Working through first Example

From: Clay Hopperdietzel
Subject: Re: [GNUe] Working through first Example
Date: Mon, 22 Mar 2004 22:51:31 -0600

On Mon, 22 Mar 2004 07:58:45 -0600
James Thompson <address@hidden> wrote:

> Please forgive me if this is a triple post.  I sent similar mails on Sunday, 
> but I'm in the process of setting up a multi-boot box at home and apparently 
> SuSE and I aren't getting along well with regard to email configuration.
> I've attached the example.gsd file.  I'll be adding it to the developers 
> guide 
> in the near future.

Is there any way you could direct others as to the source of the knowledge you 
to produce this file.

The example.gsd seems to be out of date, and it gets pretty arduous to tear into
the code to try to surmise what the xml possible structure is.

I played with gnue-schema a bit, and got a bit stuck, and decided to set it 
mostly for this reason.

Perhaps documentation is not the right way to do it.  Maybe monkey see monkey 
do is,
and you are well on your way here.

Interesting things like, what are the data types.  Which ones care about 
length.  What is
a map between gnue-schema types, and SQL types (realize this is vendor 
specific, but hey).

One thing I could not figure out is how to get exactly the SQL type I wanted.  
Perhaps I 
don't really want it, but it seems to me that the typespace in something like 
MySQL is
not particularly overkill, and that, for example, varchar(20) and char(20) 
shouldn't be
considered interchangeable types.  For "C" or Python programmer, perhaps, but I 
would think
this would be sticky bit with the real DBMS heads.

I'm wondering if that degree of control is available in gnue-schema, but not 
patient enough
to go track it down at this point in time.

> On Sunday 21 March 2004 05:37 am, address@hidden wrote:
> > Hello.
> >
> > El sáb, mar 20, a las 17:45:58 James Thompson escribía:
> > > > Am I expected to edit a .gsd file by hand, and if so, where are the
> > > > docs for what the XML can handled.
> > >
> > > This is how I do it.  I think designer has a mode to translate an
> > > existing tables to gsd but I've not messed with designer schema stuff in
> > > a long, long time so I don't know it's current state.  I've started
> > > coverage of the gsd format and usage in the gnue-common designers
> > > reference that can be found at
> > >
> > > ...
> > >
> > > About the only other documentation at this time is via the file
> > >
> > > utils/xml2sql/example.gsd
> > >
> > > from the common source code. ...
> >
> > ??? I can't find anything xml2sql named nor example.gsd ... :|
> >
> > greetings
> -- 
> ->->->->->->->->->->->->->->->->->->---<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<
> James Thompson    138 Cardwell Hall  Manhattan, Ks   66506    785-532-0561 
> Kansas State University                          Department of Mathematics
> ->->->->->->->->->->->->->->->->->->---<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<

reply via email to

[Prev in Thread] Current Thread [Next in Thread]