Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@apache.org Received: (qmail 63581 invoked from network); 4 Jun 2002 21:07:41 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 4 Jun 2002 21:07:41 -0000 Received: (qmail 8380 invoked by uid 97); 4 Jun 2002 21:06:23 -0000 Delivered-To: qmlist-jakarta-archive-commons-dev@jakarta.apache.org Received: (qmail 8282 invoked by uid 97); 4 Jun 2002 21:06:19 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 8003 invoked by uid 98); 4 Jun 2002 21:06:08 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Subject: Betwixt use question.. From: Martin van den Bemt To: Jakarta Commons Developers List Content-Type: multipart/mixed; boundary="=-DNX8LNXCsVwT6CdmvhR6" X-Mailer: Ximian Evolution 1.0.5 Date: 04 Jun 2002 22:37:42 +0200 Message-Id: <1023223063.6978.509.camel@swami> Mime-Version: 1.0 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N --=-DNX8LNXCsVwT6CdmvhR6 Content-Type: text/plain Content-Transfer-Encoding: 7bit Hi everyone, This is more of a user question probably, but I have to use dev, since there is not user list for commons ;) I have a simple (in real life a little bit more complex btw) xml file, which looks like this : I removed a lot from the about 60 kb xml file, but this is the one I use to test on, so I can limit debugging output. Via the use of the NameMapper I tried to map the classnames to the correct element names I want PHYSICAL_SCHEMA mapped to PhysicalSchema, etc,etc, which my custom NameMapper handles fine. The problem is that it is not working (also played around with .betwixt files, which made it more confusing). Can someone give me some guideline in how I can use this xml file, the way I had in mind (with readable "normal" classnames, my attributes also set in the classes I mention (setAutocreate is eg never called during the parse). Especially digester is complaining a lot that it cannot find any rules for the PHYSICAL_SCHEMA/DBMS (and deeper), even though I created the classes and added addXXXX and getXXX methods to the PhysicalSchema class. Am I using the wrong tool here, or just missing something ? (if I am using the wrong tool, please let me know). For completeness, I attached the dtd. Since this is needed for a (long lasting) migration to complete javacode and real database independency, I don't have "the power" yet, to make the xml and dtd better and have to deal with these nasty things. Another thing : isn't there a way to generate an object structure from the xml in betwixt and is that something that is interesting enough to be added as a tool ? Hope someone can help ;) Mvgr, Martin --=-DNX8LNXCsVwT6CdmvhR6 Content-Disposition: attachment; filename=physical_schema.dtd Content-Transfer-Encoding: quoted-printable Content-Type: text/x-dtd; name=physical_schema.dtd; charset=ISO-8859-1 =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D =0D --=-DNX8LNXCsVwT6CdmvhR6 Content-Type: text/plain; charset=us-ascii -- To unsubscribe, e-mail: For additional commands, e-mail: --=-DNX8LNXCsVwT6CdmvhR6--