You could also fully convert the XML schema to HTML
task that is part of Torque. Then we can automatically
output the HTML that corresponds to turbine-schema.xml
file. It uses simple XSL right now, but you could try
out Anakia for creating the XML. Then as part of nightly
task we could use the modification time check capability
in Anakia to see if the HTML version of the schema needed
to be regenerated.

The original XSL code is in org.apache.turbine.torque.ant,
but could easily be converted to use Anakia :-)

As a stop gap measure, patching this file is acceptable,
but we should generated the HTML from the XML to try
and keep everything in sync.

jvz.

On Mon, 4 Dec 2000, Martin Poeschl wrote:

> i sent this to the list with no response ... so i send it to you ...
> 
> martin
> 
> Index: ./xdocs/turbine-schema.xml
> ===================================================================
> RCS file: /products/cvs/turbine/turbine/xdocs/turbine-schema.xml,v
> retrieving revision 1.2
> diff -r1.2 turbine-schema.xml
> 148c148
> < <td>PERMISSIONID</td>
> ---
> > <td>PERMISSION_ID</td>
> 158c158
> < <td>PERMISSION</td>
> ---
> > <td>PERMISSION_NAME</td>
> 204c204
> < <td>ROLEID</td>
> ---
> > <td>ROLE_ID</td>
> 214c214
> < <td>ROLENAME</td>
> ---
> > <td>ROLE_NAME</td>
> 256c256
> < <td>GROUPID</td>
> ---
> > <td>GROUP_ID</td>
> 266c266
> < <td>GROUPNAME</td>
> ---
> > <td>GROUP_NAME</td>
> 310c310
> < <td>ROLEID</td>
> ---
> > <td>ROLE_ID</td>
> 320c320
> < <td>PERMISSIONID</td>
> ---
> > <td>PERMISSION_ID</td>
> 354c354
> < <td>USERID</td>
> ---
> > <td>USER_ID</td>
> 364c364
> < <td>LOGINID</td>
> ---
> > <td>LOGIN_NAME</td>
> 444c444
> < <td>LASTLOGIN</td>
> ---
> > <td>LAST_LOGIN</td>
> 456a457,508
> > <td></td>
> > <td></td>
> > <td></td>
> > <td></td>
> > </tr>
> >
> > </table>
> > </p>
> >
> > <p><strong>TURBINE_USER_GROUP_ROLE</strong>
> > </p>
> >
> > <p>The TURBINE_USER_GROUP_ROLE describes what roles a given user has
> as a member of a given group.
> > </p>
> >
> >
> > <p>
> > <table>
> > <tr>
> > <td>Column Name</td>
> > <td>Key</td>
> > <td>Data Type</td>
> > <td>Default Value</td>
> > <td>Null</td>
> > <td>Indexed</td>
> > <td>Comment</td>
> > </tr>
> >
> > <tr>
> > <td>USER_ID</td>
> > <td>PRIMARY</td>
> > <td>INTEGER</td>
> > <td></td>
> > <td></td>
> > <td></td>
> > <td></td>
> > </tr>
> >
> > <tr>
> > <td>GROUP_ID</td>
> > <td>PRIMARY</td>
> > <td>INTEGER</td>
> > <td></td>
> > <td></td>
> > <td></td>
> > <td></td>
> > </tr>
> >
> > <tr>
> > <td>ROLE_ID</td>
> > <td>PRIMARY</td>
> > <td>INTEGER</td>
> 
> The command completed successfully.
> 
> 
> 
> ------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> Problems?:           [EMAIL PROTECTED]
> 
> 
> ------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> Problems?:           [EMAIL PROTECTED]
> 
> 



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to