Return-Path: Delivered-To: apmail-db-torque-dev-archive@www.apache.org Received: (qmail 7197 invoked from network); 7 Oct 2009 16:29:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Oct 2009 16:29:55 -0000 Received: (qmail 88531 invoked by uid 500); 7 Oct 2009 16:29:55 -0000 Delivered-To: apmail-db-torque-dev-archive@db.apache.org Received: (qmail 88498 invoked by uid 500); 7 Oct 2009 16:29:55 -0000 Mailing-List: contact torque-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Apache Torque Developers List" Reply-To: "Apache Torque Developers List" Delivered-To: mailing list torque-dev@db.apache.org Received: (qmail 88487 invoked by uid 99); 7 Oct 2009 16:29:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Oct 2009 16:29:55 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of greg.monroe@dukece.com designates 152.3.166.24 as permitted sender) Received: from [152.3.166.24] (HELO dukece.com) (152.3.166.24) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Oct 2009 16:29:45 +0000 Received: from ([10.123.20.180]) by smtpgw1.dukece.com with ESMTP with TLS id 4440076.17279241; Wed, 07 Oct 2009 12:29:10 -0400 Received: from durham-e2k7mb1.dukece.com ([10.123.20.181]) by durham-e2k7ca1.dukece.com ([10.123.20.180]) with mapi; Wed, 7 Oct 2009 12:29:10 -0400 From: Greg Monroe To: 'Apache Torque Developers List' Date: Wed, 7 Oct 2009 12:29:10 -0400 Subject: XML Schema for Torque 4.0 Thread-Topic: XML Schema for Torque 4.0 Thread-Index: AcpHa0vP7BCopYd4TGK+Q4BR1QXXpg== Message-ID: <55B8568AFA5F144F886F18186BAD5B2C05FA44C6F5@durham-e2k7mb1.dukece.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="_000_55B8568AFA5F144F886F18186BAD5B2C05FA44C6F5durhame2k7mb1_" X-Virus-Checked: Checked by ClamAV on apache.org --_000_55B8568AFA5F144F886F18186BAD5B2C05FA44C6F5durhame2k7mb1_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I needed to learn some stuff about XML schema's so I decided=0D=0Ato combin= e this with one of the Torque 4=2E0 goals of converting=0D=0Afrom DTD to XS= D=2E This took on a life of its own and I ended=0D=0Aup with what I think = is a good candidate to use=2E=0D=0A=0D=0ASo, I put together some info about= this for folks to review=0D=0Aand get some dialog started around this=2E = Here's a URL that=0D=0Awill tell you about this schema:=0D=0A=0D=0Ahttp://p= eople=2Eapache=2Eorg/~gmonroe/torqueSchema/=0D=0A=0D=0ASome questions / To = Do stuff that come to mind are:=0D=0A=0D=0AIs the name space correct? Shoul= d it be=0D=0A=2E=2E=2E/torque/xsd/database_4_0 to be more in line with the = DTD=0D=0Anaming? XSD includes a version attribute, do we need the=0D=0A_4_0= part?=0D=0A=0D=0AThis schema has fairly "tight" attribute checking based o= n=0D=0Athe SQL and Java standards for identifiers=2E Will this cause=0D=0Ap= roblems with people who have used non-standard identifiers=0D=0Athat are su= pported by their db server=2E Should we have a=0D=0A"loose" and "tight" ver= sion? (Personally, I want my data=0D=0Amodel to always be as DB server type= independent as=0D=0Apossible)=2E=0D=0A=0D=0AShould we be including the ddl= Utils people in on this since=0D=0Athey also use the DTD?=0D=0A=0D=0AShould= we think about splitting this into two name spaces=0D=0Awith one being the= model elements and attributes (e=2Eg=2E stuff=0D=0Aboth ddlUtils and Torqu= e use) and the other being the torque=0D=0Agenerator directives (e=2Eg=2E p= ackage, basePeer, and the like)?=0D=0A=0D=0AObviously need to revamp the ge= nerator code to use the=0D=0Aschema=2E=0D=0A=0D=0ANot sure where this shoul= d live in the Torque 4=2E0 project=2E=0D=0AThe DTD have been "buried" level= s down in the resources=0D=0Adirectory=2E I think this is to make it easy t= o get it into=0D=0Athe distro jar=2E But it makes it hard to find=2E : )=0D= =0A=0D=0AIf people like the xsddoc output, we need to integrate the=0D=0Ama= ven plugin into the torque project (site part?)=2E And=0D=0Aupdate the docu= mentation with this=2E=0D=0A=0D=0AShould we think about splitting this into= two name spaces=0D=0Awith one being the model elements and attributes (e= =2Eg=2E stuff=0D=0Aboth ddlUtils and Torque use) and the other being the to= rque=0D=0Agenerator directives (e=2Eg=2E package, basePeer, and the=0D=0Ali= ke)?=0D=0A=0D=0AGreg Monroe (919)680-5050=0D=0ALearni= ng Technologies Group - Solutions Team Lead=0D=0ADuke Corporate Education, = Inc=2E=0D=0A310 Blackwell St=2E=0D=0ADurham, NC 27701=0D=0A=0D=0A=0D=0A=0D= =0ADukeCE Privacy Statement:=0D=0APlease be advised that this e-mail and an= y files transmitted with=0Ait are confidential communication or may otherwi= se be privileged or=0Aconfidential and are intended solely for the individu= al or entity=0Ato whom they are addressed=2E If you are not the intended re= cipient=0Ayou may not rely on the contents of this email or any attachments= ,=0Aand we ask that you please not read, copy or retransmit this=0Acommunic= ation, but reply to the sender and destroy the email, its=0Acontents, and a= ll copies thereof immediately=2E Any unauthorized=0Adissemination, distribu= tion or copying of this communication is=0Astrictly prohibited=2E --_000_55B8568AFA5F144F886F18186BAD5B2C05FA44C6F5durhame2k7mb1_--