From patrick48@example.com Wed Nov 03 21:00:08 2004 Return-Path: <patrick48@example.com> Delivered-To: patrick48@example.com Received: (qmail 89762 invoked from network); 3 Nov 2004 21:00:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 3 Nov 2004 21:00:08 -0000 Received: (qmail 16516 invoked by uid 500); 3 Nov 2004 20:59:49 -0000 Delivered-To: patrick48@example.com Received: (qmail 16394 invoked by uid 500); 3 Nov 2004 20:59:47 -0000 Mailing-List: contact patrick48@example.com; run by ezmlm Precedence: bulk list-help: <mailto:patrick48@example.com> list-unsubscribe: <mailto:patrick48@example.com> list-post: <mailto:patrick48@example.com> Delivered-To: mailing list patrick48@example.com Received: (qmail 16285 invoked by uid 500); 3 Nov 2004 20:59:46 -0000 Delivered-To: patrick48@example.com Received: (qmail 16248 invoked by uid 99); 3 Nov 2004 20:59:46 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO minotaur.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 03 Nov 2004 12:59:46 -0800 Received: (qmail 89497 invoked by uid 1113); 3 Nov 2004 20:59:44 -0000 Date: 3 Nov 2004 20:59:44 -0000 Message-ID: <patrick48@example.com> From: patrick48@example.com To: patrick48@example.com Subject: cvs commit: ws-jaxme status.xml X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N jochen 2004/11/03 12:59:44 Modified: . status.xml Log: The "isSet" property wasn't propertly triggered. PR: JAXME-39 Revision Changes Path 1.40 +5 -0 ws-jaxme/status.xml Index: status.xml =================================================================== RCS file: /home/cvs/ws-jaxme/status.xml,v retrieving revision 1.39 retrieving revision 1.40 diff -u -r1.39 -r1.40 --- status.xml 28 Oct 2004 20:35:47 -0000 1.39 +++ status.xml 3 Nov 2004 20:59:44 -0000 1.40 @@ -94,6 +94,11 @@ with the same namespace. (Dogan Atay, patrick48@example.com) See JAXME-45 in Jira. </action> + <action dev="JW" type="fix" context="generator"> + The "isSet" property wasn't properly triggered. + (Marcin Kuthan, patrick48@example.com) See JAXME-39 + in Jira. + </action> </release> <release version="0.3.1" date="2004-Sep-03"> <action dev="JW" type="fix" context="generator"> --------------------------------------------------------------------- To unsubscribe, e-mail: patrick48@example.com For additional commands, e-mail: patrick48@example.com From patrick48@example.com Wed Nov 03 21:00:10 2004 Return-Path: <patrick48@example.com> Delivered-To: patrick48@example.com Received: (qmail 89849 invoked from network); 3 Nov 2004 21:00:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 3 Nov 2004 21:00:10 -0000 Received: (qmail 17637 invoked by uid 500); 3 Nov 2004 21:00:02 -0000 Delivered-To: patrick48@example.com Received: (qmail 17595 invoked by uid 500); 3 Nov 2004 21:00:02 -0000 Mailing-List: contact patrick48@example.com; run by ezmlm Precedence: bulk list-help: <mailto:patrick48@example.com> list-unsubscribe: <mailto:patrick48@example.com> list-post: <mailto:patrick48@example.com> Delivered-To: mailing list patrick48@example.com Received: (qmail 17574 invoked by uid 500); 3 Nov 2004 21:00:02 -0000 Delivered-To: patrick48@example.com Received: (qmail 17559 invoked by uid 99); 3 Nov 2004 21:00:01 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO minotaur.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 03 Nov 2004 13:00:01 -0800 Received: (qmail 89603 invoked by uid 1113); 3 Nov 2004 20:59:59 -0000 Date: 3 Nov 2004 20:59:59 -0000 Message-ID: <patrick48@example.com> From: patrick48@example.com To: patrick48@example.com Subject: cvs commit: ws-jaxme/src/jaxme/org/apache/ws/jaxme/generator/sg TypeSG.java X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N jochen 2004/11/03 12:59:59 Modified: src/jaxme/org/apache/ws/jaxme/generator/sg/impl Tag: Branch_R0_3 JAXBPropertySG.java JAXBTypeSG.java . Tag: Branch_R0_3 status.xml src/jaxme/org/apache/ws/jaxme/generator/sg Tag: Branch_R0_3 TypeSG.java Log: The "isSet" property wasn't propertly triggered. PR: JAXME-39 Revision Changes Path No revision No revision 83.161.120.155 +2 -1 ws-jaxme/src/jaxme/org/apache/ws/jaxme/generator/sg/impl/JAXBPropertySG.java Index: JAXBPropertySG.java =================================================================== RCS file: /home/cvs/ws-jaxme/src/jaxme/org/apache/ws/jaxme/generator/sg/impl/JAXBPropertySG.java,v retrieving revision 83.161.120.155 retrieving revision 83.161.120.155 diff -u -r83.161.120.155 -r83.161.120.155 --- JAXBPropertySG.java 2 Sep 2004 11:25:40 -0000 83.161.120.155 +++ JAXBPropertySG.java 3 Nov 2004 20:59:58 -0000 83.161.120.155 @@ -137,7 +137,8 @@ public JavaMethod getXMLSetMethod(PropertySG pController, JavaSource pSource) throws SAXException { return typeSG.getXMLSetMethod(pSource, pController.getXMLFieldName(), - pController.getXMLSetMethodName()); + pController.getXMLSetMethodName(), + pController.hasIsSetMethod()); } public JavaMethod getXMLIsSetMethod(PropertySG pController, JavaSource pSource) throws SAXException { 83.161.120.155 +38 -31 ws-jaxme/src/jaxme/org/apache/ws/jaxme/generator/sg/impl/JAXBTypeSG.java Index: JAXBTypeSG.java =================================================================== RCS file: /home/cvs/ws-jaxme/src/jaxme/org/apache/ws/jaxme/generator/sg/impl/JAXBTypeSG.java,v retrieving revision 83.161.120.155 retrieving revision 83.161.120.155 diff -u -r83.161.120.155 -r83.161.120.155 --- JAXBTypeSG.java 29 Sep 2004 08:41:11 -0000 83.161.120.155 +++ JAXBTypeSG.java 3 Nov 2004 20:59:58 -0000 83.161.120.155 @@ -329,31 +329,40 @@ } public JavaMethod getXMLSetMethod(TypeSG pController, JavaSource pSource, - String pFieldName, String pMethodName) throws SAXException { - if (pController.isComplex()) { - String pName = "p" + Character.toUpperCase(pFieldName.charAt(0)) + pFieldName.substring(1); - JavaMethod jm = pSource.newJavaMethod(pMethodName, JavaQNameImpl.VOID, JavaSource.PUBLIC); - JavaQName runtimeType; - if (pFieldName.equals("value") && pController.getComplexTypeSG().hasSimpleContent()) { - SimpleContentSG obj = pController.getComplexTypeSG().getSimpleContentSG(); - runtimeType = obj.getContentTypeSG().getRuntimeType(); - if (pController.isRestriction()) { - if (pController.getRestrictedType().isExtension()) { - runtimeType = pController.getRestrictedType().getExtendedType().getRuntimeType(); - } - } + String pFieldName, String pMethodName, + boolean pSetIsSet) throws SAXException { + if (pController.isComplex()) { + String pName = "p" + Character.toUpperCase(pFieldName.charAt(0)) + pFieldName.substring(1); + JavaMethod jm = pSource.newJavaMethod(pMethodName, JavaQNameImpl.VOID, JavaSource.PUBLIC); + JavaQName runtimeType; + if (pFieldName.equals("value") && pController.getComplexTypeSG().hasSimpleContent()) { + SimpleContentSG obj = pController.getComplexTypeSG().getSimpleContentSG(); + runtimeType = obj.getContentTypeSG().getRuntimeType(); + if (pController.isRestriction()) { + if (pController.getRestrictedType().isExtension()) { + runtimeType = pController.getRestrictedType().getExtendedType().getRuntimeType(); + } + } + } + else { + runtimeType = pController.getRuntimeType(); + } + DirectAccessible param = jm.addParam(runtimeType, pName); + if (!pSource.isInterface()) { + jm.addLine(pFieldName, " = ", param, ";"); + } + return jm; + } else { + JavaMethod jm = pController.getSimpleTypeSG().getXMLSetMethod(pSource, pFieldName, pMethodName); + if (pSetIsSet && pController.getRuntimeType().isPrimitive()) { + jm.addLine(getIsSetCheckFieldName(pFieldName), " = true;"); } - else { - runtimeType = pController.getRuntimeType(); - } - DirectAccessible param = jm.addParam(runtimeType, pName); - if (!pSource.isInterface()) { - jm.addLine(pFieldName, " = ", param, ";"); - } - return jm; - } else { - return pController.getSimpleTypeSG().getXMLSetMethod(pSource, pFieldName, pMethodName); - } + return jm; + } + } + + private String getIsSetCheckFieldName(String pFieldName) { + return "has" + Character.toUpperCase(pFieldName.charAt(0)) + pFieldName.substring(1); } /** @@ -361,15 +370,13 @@ * isSet and unset methods will be implemented by a flag and corresponding default value if it exist. */ public JavaMethod getXMLIsSetMethod(TypeSG pController, JavaSource pSource, - String pFieldName, String pMethodName) throws SAXException { + String pFieldName, String pMethodName) + throws SAXException { JavaMethod jm = pSource.newJavaMethod(pMethodName, BooleanSG.BOOLEAN_TYPE, JavaSource.PUBLIC); if (!pSource.isInterface()) { - JavaQName checkQName = pController.getRuntimeType(); - boolean isPrimitive = "".equals(checkQName.getPackageName()); - if (isPrimitive) { - String checkFieldName = "has" + Character.toUpperCase(pFieldName.charAt(0)) + pFieldName.substring(1); - pSource.newJavaField(checkFieldName, BooleanSG.BOOLEAN_TYPE); - jm.addLine("return " + checkFieldName + ";"); + if (pController.getRuntimeType().isPrimitive()) { + JavaField jf = pSource.newJavaField(getIsSetCheckFieldName(pFieldName), BooleanSG.BOOLEAN_TYPE); + jm.addLine("return ", jf, ";"); } else { jm.addLine("return (" + pFieldName + " != null);"); } No revision No revision 83.161.120.155 +5 -0 ws-jaxme/status.xml Index: status.xml =================================================================== RCS file: /home/cvs/ws-jaxme/status.xml,v retrieving revision 83.161.120.155 retrieving revision 83.161.120.155 diff -u -r83.161.120.155 -r83.161.120.155 --- status.xml 28 Oct 2004 20:35:33 -0000 83.161.120.155 +++ status.xml 3 Nov 2004 20:59:59 -0000 83.161.120.155 @@ -70,6 +70,11 @@ with the same namespace. (Dogan Atay, patrick48@example.com) See JAXME-45 in Jira. </action> + <action dev="JW" type="fix" context="generator"> + The "isSet" property wasn't properly triggered. + (Marcin Kuthan, patrick48@example.com) See JAXME-39 + in Jira. + </action> </release> <release version="0.3.1" date="2004-Sep-03"> <action dev="JW" type="fix" context="xs"> No revision No revision 83.161.120.155 +2 -2 ws-jaxme/src/jaxme/org/apache/ws/jaxme/generator/sg/TypeSG.java Index: TypeSG.java =================================================================== RCS file: /home/cvs/ws-jaxme/src/jaxme/org/apache/ws/jaxme/generator/sg/TypeSG.java,v retrieving revision 1.5 retrieving revision 83.161.120.155 diff -u -r1.5 -r83.161.120.155 --- TypeSG.java 16 Feb 2004 23:39:50 -0000 1.5 +++ TypeSG.java 3 Nov 2004 20:59:59 -0000 83.161.120.155 @@ -112,8 +112,8 @@ /** <p>Generates a set method returning an instance of this type.</p> */ - public JavaMethod getXMLSetMethod(JavaSource pSource, - String pFieldName, String pMethodName) throws SAXException; + public JavaMethod getXMLSetMethod(JavaSource pSource, String pFieldName, + String pMethodName, boolean pSetIsSet) throws SAXException; /** <p>Generates an "isSet" method returning whether the field is set.</p> */ --------------------------------------------------------------------- To unsubscribe, e-mail: patrick48@example.com For additional commands, e-mail: patrick48@example.com From patrick48@example.com Wed Nov 03 21:01:37 2004 Return-Path: <patrick48@example.com> Delivered-To: patrick48@example.com Received: (qmail 90529 invoked from network); 3 Nov 2004 21:01:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 3 Nov 2004 21:01:37 -0000 Received: (qmail 19307 invoked by uid 500); 3 Nov 2004 21:01:36 -0000 Delivered-To: patrick48@example.com Received: (qmail 19289 invoked by uid 500); 3 Nov 2004 21:01:36 -0000 Mailing-List: contact patrick48@example.com; run by ezmlm Precedence: bulk list-help: <mailto:patrick48@example.com> list-unsubscribe: <mailto:patrick48@example.com> list-post: <mailto:patrick48@example.com> Delivered-To: mailing list patrick48@example.com Received: (qmail 19275 invoked by uid 99); 3 Nov 2004 21:01:36 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO exchange.sun.com) (83.161.120.155) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 03 Nov 2004 13:01:34 -0800 Received: (qmail 5970 invoked from network); 3 Nov 2004 21:01:33 -0000 Received: from localhost (HELO nagoya) (83.161.120.155) by nagoya.betaversion.org with SMTP; 3 Nov 2004 21:01:33 -0000 Message-ID: <1375010532.1099515693418.JavaMail.apache@nagoya> Date: Wed, 3 Nov 2004 13:01:33 -0800 (PST) From: "Jochen Wiedmann (JIRA)" <patrick48@example.com> To: patrick48@example.com Subject: [jira] Closed: (JAXME-39) Mutation method do not set isSet field property In-Reply-To: <1974359574.1097568831262.JavaMail.apache@nagoya> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N [ http://nagoya.apache.org/jira/browse/JAXME-39?page=history ] Jochen Wiedmann closed JAXME-39: -------------------------------- Resolution: Fixed Patch applied to 0.3 and HEAD branch. > Mutation method do not set isSet field property > ----------------------------------------------- > > Key: JAXME-39 > URL: http://nagoya.apache.org/jira/browse/JAXME-39 > Project: JaxMe > Type: Bug > Components: JaxMe Core > Environment: JaxMe 0.3.1 > Reporter: Marcin Kuthan > Assignee: Jochen Wiedmann > Attachments: jaxme39.patch > > Mutation method do not set isSet field property. Only unmarshalling process set isSet property correctly. > JAXB specs citation, paragraph 4.5.4: > The isSet method returns true if the property has been set > during unmarshalling OR BY INVOCATION OF THE MUTATION METHOD setId with a non-null value. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://nagoya.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: patrick48@example.com For additional commands, e-mail: patrick48@example.com From patrick48@example.com Wed Nov 03 21:07:37 2004 Return-Path: <patrick48@example.com> Delivered-To: patrick48@example.com Received: (qmail 93023 invoked from network); 3 Nov 2004 21:07:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 3 Nov 2004 21:07:37 -0000 Received: (qmail 28756 invoked by uid 500); 3 Nov 2004 21:07:37 -0000 Delivered-To: patrick48@example.com Received: (qmail 28679 invoked by uid 500); 3 Nov 2004 21:07:36 -0000 Mailing-List: contact patrick48@example.com; run by ezmlm Precedence: bulk list-help: <mailto:patrick48@example.com> list-unsubscribe: <mailto:patrick48@example.com> list-post: <mailto:patrick48@example.com> Delivered-To: mailing list patrick48@example.com Received: (qmail 28666 invoked by uid 99); 3 Nov 2004 21:07:36 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO exchange.sun.com) (83.161.120.155) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 03 Nov 2004 13:07:36 -0800 Received: (qmail 6359 invoked from network); 3 Nov 2004 21:07:34 -0000 Received: from localhost (HELO nagoya) (83.161.120.155) by nagoya.betaversion.org with SMTP; 3 Nov 2004 21:07:34 -0000 Message-ID: <1927464626.1099516054877.JavaMail.apache@nagoya> Date: Wed, 3 Nov 2004 13:07:34 -0800 (PST) From: "Jochen Wiedmann (JIRA)" <patrick48@example.com> To: patrick48@example.com Subject: [jira] Closed: (JAXME-19) Generated Java source for boolean attributes creates get versus is method In-Reply-To: <596054154.1090513937341.JavaMail.apache@nagoya> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N [ http://nagoya.apache.org/jira/browse/JAXME-19?page=history ] Jochen Wiedmann closed JAXME-19: -------------------------------- > Generated Java source for boolean attributes creates get versus is method > ------------------------------------------------------------------------- > > Key: JAXME-19 > URL: http://nagoya.apache.org/jira/browse/JAXME-19 > Project: JaxMe > Type: Bug > Environment: 0.3 release candidate > Reporter: John Conlon > Assignee: Jochen Wiedmann > Priority: Trivial > > JaxMe creates a get<AttName> Java source method for an attribute with a boolean type, but Sun's JAXB RI creates a is<AttName> method. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://nagoya.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: patrick48@example.com For additional commands, e-mail: patrick48@example.com From patrick48@example.com Wed Nov 03 21:07:38 2004 Return-Path: <patrick48@example.com> Delivered-To: patrick48@example.com Received: (qmail 93046 invoked from network); 3 Nov 2004 21:07:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 3 Nov 2004 21:07:38 -0000 Received: (qmail 28871 invoked by uid 500); 3 Nov 2004 21:07:38 -0000 Delivered-To: patrick48@example.com Received: (qmail 28783 invoked by uid 500); 3 Nov 2004 21:07:37 -0000 Mailing-List: contact patrick48@example.com; run by ezmlm Precedence: bulk list-help: <mailto:patrick48@example.com> list-unsubscribe: <mailto:patrick48@example.com> list-post: <mailto:patrick48@example.com> Delivered-To: mailing list patrick48@example.com Received: (qmail 28681 invoked by uid 99); 3 Nov 2004 21:07:36 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO exchange.sun.com) (83.161.120.155) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 03 Nov 2004 13:07:35 -0800 Received: (qmail 6356 invoked from network); 3 Nov 2004 21:07:33 -0000 Received: from localhost (HELO nagoya) (83.161.120.155) by nagoya.betaversion.org with SMTP; 3 Nov 2004 21:07:33 -0000 Message-ID: <405794493.1099516053958.JavaMail.apache@nagoya> Date: Wed, 3 Nov 2004 13:07:33 -0800 (PST) From: "Jochen Wiedmann (JIRA)" <patrick48@example.com> To: patrick48@example.com Subject: [jira] Closed: (JAXME-45) Namespace prefix is not included after first sibling In-Reply-To: <1445537366.1098990452709.JavaMail.apache@nagoya> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N [ http://nagoya.apache.org/jira/browse/JAXME-45?page=history ] Jochen Wiedmann closed JAXME-45: -------------------------------- > Namespace prefix is not included after first sibling > ---------------------------------------------------- > > Key: JAXME-45 > URL: http://nagoya.apache.org/jira/browse/JAXME-45 > Project: JaxMe > Type: Bug > Versions: current (nightly) > Environment: Windows XP Pro SP 2 > JaxMe 0.3.1 > JDK 1.4.2 04 > Reporter: Dogan Atay > Priority: Blocker > Attachments: CarTester.java, buildCarAnt.xml, car.xsd, engine.xsd, jaxme-45-0.3.patch, jaxme-45.patch > > Two schemas car.xsd and engine.xsd are defined with two different targetNamespaces. > car.xsd imports engine.xsd and defines some elements. The elements are defined either in car.xsd or in engine.xsd. > Car.xsd is compiled using the buildCarAnt.xml file. > The generated classes are used in the CarTester.java program. > The result of CarTester.java is as follows > <car:car xmlns:car="http://car.aflac.com"> > <car:engine> > <engine:cylinderCount xmlns:engine="http://engine.aflac.com">6</engine:cylinderCount> > <engine:cylinder> > <engine:diameter>12.44</engine:diameter> > <engine:volume>750.45</engine:volume> > <engine:valveCount>32</engine:valveCount> > </engine:cylinder> > <engine:material> > <engine:name>Al</engine:name> > <engine:percentage>90.14</engine:percentage> > </engine:material> > </car:engine> > <car:body> > <car:style>Coupe</car:style> > <car:weight>3454.54</car:weight> > <car:doorCount>2</car:doorCount> > </car:body> > </car:car> > Time to unmarshall it > [Fatal Error] :4:22: The prefix "engine" for element "engine:cylinder" is not bound. > javax.xml.bind.UnmarshalException: The prefix "engine" for element "engine:cylinder" is not bound. > at org.apache.ws.jaxme.impl.JMUnmarshallerImpl.unmarshal(JMUnmarshallerImpl.java:103) > at org.apache.ws.jaxme.impl.JMUnmarshallerImpl.unmarshal(JMUnmarshallerImpl.java:85) > at com.aflac.quote.client.simple.CarTester.main(CarTester.java:73) > Caused by: > org.xml.sax.SAXParseException: The prefix "engine" for element "engine:cylinder" is not bound. > at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) > at org.apache.ws.jaxme.impl.JMUnmarshallerImpl.unmarshal(JMUnmarshallerImpl.java:98) > at org.apache.ws.jaxme.impl.JMUnmarshallerImpl.unmarshal(JMUnmarshallerImpl.java:85) > at com.aflac.quote.client.simple.CarTester.main(CarTester.java:73) > -------------------------------------------------------------------------- > <engine:cylinder> and <engine:material> tags are missing the attribute > xmlns:engine="http://engine.aflac.com" > I mark this as Blocker because my client cannot unmarshall the XML and I cannot find a workaround. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://nagoya.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: patrick48@example.com For additional commands, e-mail: patrick48@example.com From patrick48@example.com Wed Nov 03 21:07:41 2004 Return-Path: <patrick48@example.com> Delivered-To: patrick48@example.com Received: (qmail 93087 invoked from network); 3 Nov 2004 21:07:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 3 Nov 2004 21:07:41 -0000 Received: (qmail 28943 invoked by uid 500); 3 Nov 2004 21:07:41 -0000 Delivered-To: patrick48@example.com Received: (qmail 28908 invoked by uid 500); 3 Nov 2004 21:07:40 -0000 Mailing-List: contact patrick48@example.com; run by ezmlm Precedence: bulk list-help: <mailto:patrick48@example.com> list-unsubscribe: <mailto:patrick48@example.com> list-post: <mailto:patrick48@example.com> Delivered-To: mailing list patrick48@example.com Received: (qmail 28891 invoked by uid 99); 3 Nov 2004 21:07:40 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO exchange.sun.com) (83.161.120.155) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 03 Nov 2004 13:07:39 -0800 Received: (qmail 6382 invoked from network); 3 Nov 2004 21:07:38 -0000 Received: from localhost (HELO nagoya) (83.161.120.155) by nagoya.betaversion.org with SMTP; 3 Nov 2004 21:07:38 -0000 Message-ID: <397578630.1099516058364.JavaMail.apache@nagoya> Date: Wed, 3 Nov 2004 13:07:38 -0800 (PST) From: "Jochen Wiedmann (JIRA)" <patrick48@example.com> To: patrick48@example.com Subject: [jira] Closed: (JAXME-9) PATCH JAXBContextImpl.getJMHandler Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N [ http://nagoya.apache.org/jira/browse/JAXME-9?page=history ] Jochen Wiedmann closed JAXME-9: ------------------------------- Assign To: (was: JaxMe Developers mailing list) > PATCH JAXBContextImpl.getJMHandler > ---------------------------------- > > Key: JAXME-9 > URL: http://nagoya.apache.org/jira/browse/JAXME-9 > Project: JaxMe > Type: Bug > Components: JAXB API > Versions: current (nightly) > Environment: Operating System: Other > Platform: Other > Reporter: Henrik Vendelbo > > public JMHandler getJMHandler(QName pQName) throws UnmarshalException { > JMManager mgr = getManagerByQName(pQName); > if (mgr == null) throw new UnmarshalException("No manager instance for '" > + pQName + "'"); > Class c = mgr.getHandlerClass(); > if (c == null) { > throw new UnmarshalException("No handler class configured for " + > pQName); > } -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://nagoya.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: patrick48@example.com For additional commands, e-mail: patrick48@example.com From patrick48@example.com Wed Nov 03 21:09:40 2004 Return-Path: <patrick48@example.com> Delivered-To: patrick48@example.com Received: (qmail 94711 invoked from network); 3 Nov 2004 21:09:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 3 Nov 2004 21:09:39 -0000 Received: (qmail 31740 invoked by uid 500); 3 Nov 2004 21:09:39 -0000 Delivered-To: patrick48@example.com Received: (qmail 31712 invoked by uid 500); 3 Nov 2004 21:09:39 -0000 Mailing-List: contact patrick48@example.com; run by ezmlm Precedence: bulk list-help: <mailto:patrick48@example.com> list-unsubscribe: <mailto:patrick48@example.com> list-post: <mailto:patrick48@example.com> Delivered-To: mailing list patrick48@example.com Received: (qmail 31699 invoked by uid 99); 3 Nov 2004 21:09:39 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO exchange.sun.com) (83.161.120.155) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 03 Nov 2004 13:09:37 -0800 Received: (qmail 6524 invoked from network); 3 Nov 2004 21:09:36 -0000 Received: from localhost (HELO nagoya) (83.161.120.155) by nagoya.betaversion.org with SMTP; 3 Nov 2004 21:09:36 -0000 Message-ID: <1179056855.1099516176236.JavaMail.apache@nagoya> Date: Wed, 3 Nov 2004 13:09:36 -0800 (PST) From: "Jochen Wiedmann (JIRA)" <patrick48@example.com> To: patrick48@example.com Subject: [jira] Closed: (JAXME-7) PATCH JMHandlerImpl improved exception text Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N [ http://nagoya.apache.org/jira/browse/JAXME-7?page=history ] Jochen Wiedmann closed JAXME-7: ------------------------------- Assign To: (was: JaxMe Developers mailing list) > PATCH JMHandlerImpl improved exception text > ------------------------------------------- > > Key: JAXME-7 > URL: http://nagoya.apache.org/jira/browse/JAXME-7 > Project: JaxMe > Type: Bug > Components: JaxMe Core > Versions: current (nightly) > Environment: Operating System: Other > Platform: Other > Reporter: Henrik Vendelbo > > The current text seemed very confusing on an issue today. Only after 2 hours > did I realise that I was actually dealing with empty values. This patch adds > quotes around the offending values, so empty values are immediately obvious. > public void addAttribute(String pNamespaceURI, String pLocalName, > String pValue) throws SAXException { > throw new SAXParseException("Unknown attribute: '" + pLocalName + > "' in namespace '" + pNamespaceURI +"'", > getDocumentLocator()); > } > public void startElement(String pNamespaceURI, String pLocalName, > String pQName, Attributes pAttr) throws > SAXException { > validationEvent(ValidationEvent.WARNING, > "Unexpected element: '" + pQName + "'", > ValidationEvents.EVENT_UNEXPECTED_CHILD_ELEMENT); > } > public void characters(char[] pChars, int pOffset, int pLen) throws > SAXException { > for (int i = 0; i < pLen; i++) { > if (!Character.isWhitespace(pChars[pOffset+i])) { > validationEvent(ValidationEvent.WARNING, "Unexpected non-whitespace > characters:'" + > new String(pChars, pOffset, pLen) + "'", > ValidationEvents.EVENT_UNEXPECTED_TEXTUAL_CONTENTS); > } > } > } > public void endElement(String pNamespaceURI, String pLocalName, > String pQName) throws SAXException { > validationEvent(ValidationEvent.WARNING, > "Unexpected element: '" + pQName + "'", > ValidationEvents.EVENT_UNEXPECTED_CHILD_ELEMENT); > } -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://nagoya.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: patrick48@example.com For additional commands, e-mail: patrick48@example.com From patrick48@example.com Wed Nov 03 21:09:43 2004 Return-Path: <patrick48@example.com> Delivered-To: patrick48@example.com Received: (qmail 94771 invoked from network); 3 Nov 2004 21:09:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 3 Nov 2004 21:09:43 -0000 Received: (qmail 31889 invoked by uid 500); 3 Nov 2004 21:09:42 -0000 Delivered-To: patrick48@example.com Received: (qmail 31841 invoked by uid 500); 3 Nov 2004 21:09:42 -0000 Mailing-List: contact patrick48@example.com; run by ezmlm Precedence: bulk list-help: <mailto:patrick48@example.com> list-unsubscribe: <mailto:patrick48@example.com> list-post: <mailto:patrick48@example.com> Delivered-To: mailing list patrick48@example.com Received: (qmail 31828 invoked by uid 99); 3 Nov 2004 21:09:42 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO exchange.sun.com) (83.161.120.155) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 03 Nov 2004 13:09:41 -0800 Received: (qmail 6544 invoked from network); 3 Nov 2004 21:09:40 -0000 Received: from localhost (HELO nagoya) (83.161.120.155) by nagoya.betaversion.org with SMTP; 3 Nov 2004 21:09:40 -0000 Message-ID: <195415036.1099516180416.JavaMail.apache@nagoya> Date: Wed, 3 Nov 2004 13:09:40 -0800 (PST) From: "Jochen Wiedmann (JIRA)" <patrick48@example.com> To: patrick48@example.com Subject: [jira] Closed: (JAXME-1) Make return type of JavaMethod.addParam() more specifiy. Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N [ http://nagoya.apache.org/jira/browse/JAXME-1?page=history ] Jochen Wiedmann closed JAXME-1: ------------------------------- Assign To: (was: JaxMe Developers mailing list) > Make return type of JavaMethod.addParam() more specifiy. > -------------------------------------------------------- > > Key: JAXME-1 > URL: http://nagoya.apache.org/jira/browse/JAXME-1 > Project: JaxMe > Type: Bug > Components: JaxMeJS > Versions: current (nightly) > Environment: Operating System: All > Platform: All > Reporter: Jochen Wiedmann > > The patch below makes the methods JavaMethod.addParam() to return an > instance of Parameter. This is useful, because it allows access to the > parameter type, which the DirectAccessible interface does not expose. > Binary files /cygdrive/c/tmp/ws-jaxme/prerequisites/hsqldb-1.7.1.jar and > /cygdrive/c/jwi/ws-jaxme/prerequisites/hsqldb-1.7.1.jar differ > diff -ubr --exclude=bin --exclude=build --exclude=dist --exclude=CVS > --ignore-matching-lines='$Id:' --new-file > /cygdrive/c/tmp/ws-jaxme/src/js/org/apache/ws/jaxme/js/AbstractJavaMethod.java > /cygdrive/c/jwi/ws-jaxme/src/js/org/apache/ws/jaxme/js/AbstractJavaMethod.java > --- > /cygdrive/c/tmp/ws-jaxme/src/js/org/apache/ws/jaxme/js/AbstractJavaMethod.java > 2003-09-25 10:06:27.000000000 +0200 > +++ > /cygdrive/c/jwi/ws-jaxme/src/js/org/apache/ws/jaxme/js/AbstractJavaMethod.java > 2003-09-25 15:55:24.000000000 +0200 > @@ -182,7 +182,7 @@ > * @see #getParams > * @return An object to use for referencing the parameter inside the method. > */ > - public DirectAccessible addParam(Class p, String v) { > + public Parameter addParam(Class p, String v) { > return addParam(JavaQNameImpl.getInstance(p), v); > } > > @@ -191,7 +191,7 @@ > * @see #getParams > * @return An object to use for referencing the parameter inside the method. > */ > - public DirectAccessible addParam(JavaQName pType, String pName) { > + public Parameter addParam(JavaQName pType, String pName) { > if (pType == null) { > throw new NullPointerException("Type argument must not be null"); > } -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://nagoya.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: patrick48@example.com For additional commands, e-mail: patrick48@example.com From patrick48@example.com Wed Nov 03 21:09:44 2004 Return-Path: <patrick48@example.com> Delivered-To: patrick48@example.com Received: (qmail 94812 invoked from network); 3 Nov 2004 21:09:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 3 Nov 2004 21:09:44 -0000 Received: (qmail 32027 invoked by uid 500); 3 Nov 2004 21:09:44 -0000 Delivered-To: patrick48@example.com Received: (qmail 31947 invoked by uid 500); 3 Nov 2004 21:09:43 -0000 Mailing-List: contact patrick48@example.com; run by ezmlm Precedence: bulk list-help: <mailto:patrick48@example.com> list-unsubscribe: <mailto:patrick48@example.com> list-post: <mailto:patrick48@example.com> Delivered-To: mailing list patrick48@example.com Received: (qmail 31934 invoked by uid 99); 3 Nov 2004 21:09:43 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO exchange.sun.com) (83.161.120.155) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 03 Nov 2004 13:09:41 -0800 Received: (qmail 6535 invoked from network); 3 Nov 2004 21:09:39 -0000 Received: from localhost (HELO nagoya) (83.161.120.155) by nagoya.betaversion.org with SMTP; 3 Nov 2004 21:09:39 -0000 Message-ID: <1721718985.1099516179146.JavaMail.apache@nagoya> Date: Wed, 3 Nov 2004 13:09:39 -0800 (PST) From: "Jochen Wiedmann (JIRA)" <patrick48@example.com> To: patrick48@example.com Subject: [jira] Closed: (JAXME-2) xjc bombs with NullPointerException Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N [ http://nagoya.apache.org/jira/browse/JAXME-2?page=history ] Jochen Wiedmann closed JAXME-2: ------------------------------- Assign To: (was: JaxMe Developers mailing list) > xjc bombs with NullPointerException > ----------------------------------- > > Key: JAXME-2 > URL: http://nagoya.apache.org/jira/browse/JAXME-2 > Project: JaxMe > Type: Bug > Components: JaxMe Core > Versions: current (nightly) > Environment: Operating System: Windows XP > Platform: PC > Reporter: Henrik Vendelbo > > Just tried JaxMe on this XSD, it simply died on my with a very uninformatative > NullPointerException from Ant. > <?xml version="1.0" encoding="UTF-8"?> > <schema > xmlns="http://www.w3.org/2001/XMLSchema" > xml:lang="EN" > targetNamespace="http://commons.dspc.net/datamodel" > xmlns:jaxme="http://ispsoft.de/namespaces/jaxme/schema" > xmlns:data="http://commons.dspc.net/datamodel" > elementFormDefault="qualified" > attributeFormDefault="unqualified"> > <!-- > <annotation> > <documentation> > Document transmission. > </documentation> > <appinfo> > <jaxme:defaults package="net.dspc.commons.datamodel"/> > </appinfo> > </annotation> > --> > <element name="DocTransmission"> > <complexType> > <attribute name="created"/> > <attribute name="mail-id"/> > > <sequence> > <element name="Sender"> > <annotation><documentation> > The person who sent this, and how to reply > </documentation></annotation> > <complexType> > > <sequence> > <element name="e-mail" minOccurs="0" maxOccurs="unbounded" > type="string"> > <annotation><documentation>e-mail</documentation></annotation> > </element> > <element name="phone" minOccurs="0" maxOccurs="unbounded" > type="string"> > <annotation><documentation>Preferred mobile or landline phone > number</documentation></annotation> > </element> > <element name="fax" minOccurs="0" maxOccurs="unbounded" > type="string"> > <annotation><documentation>Preferred fax > number</documentation></annotation> > </element> > <element name="crypt-signature" type="string"/> > </sequence> > > <attribute name="Name"> > <annotation><documentation>The full name including title or > whatever</documentation></annotation> > </attribute> > <attribute name="AccountId"/> > </complexType> > </element> > > <element name="Recipient"> > <annotation><documentation> > The person receiving this. All we need is an account name really > </documentation></annotation> > <complexType> > <attribute name="Name" type="string"> > <annotation><documentation>The full name including title or > whatever</documentation></annotation> > </attribute> > <attribute name="AccountId" type="string"/> > </complexType> > </element> > <element name="Subject" type="string"> > <annotation><documentation>Message subject > text</documentation></annotation> > </element> > > <element name="Body"> > <annotation><documentation> > Message body containing only simple XHTML formatting tags > </documentation></annotation> > <complexType> > <attribute name="html-template"> > <annotation><documentation>Name of the template to use for > rendering as html</documentation></annotation> > </attribute> > <attribute name="text-template"/> > </complexType> > </element> > <element name="Signature" minOccurs="1" maxOccurs="1" > type="string"> > <annotation><documentation>Message signature > containing only simple XHTML formatting tags</documentation></annotation> > </element> > > <element name="Document" minOccurs="1" > maxOccurs="unbounded"> > <annotation><documentation>Attached > document</documentation></annotation> > <complexType><sequence> > <element name="Title"> > <complexType> > <attribute name="source"/> > </complexType> > </element> > <element name="Summary"> > <complexType> > <attribute name="source"/> > </complexType> > </element> > <element name="File"> > <complexType> > <attribute name="file-name"/> > <attribute name="folder-name"/> > <attribute name="mime-type"/> > </complexType> > </element> > <element name="crypt-signature" type="string"/> > </sequence></complexType> > </element> > </sequence></complexType> > </element> > </schema> > <!-- > maybe support these : Return-Path: > > Envelope-to: > Delivery-date: Wed, 15 Oct 2003 23:22:48 +0100 > Confirmed received trail > Precedence: bulk > Reply-To: patrick48@example.com > Message-Id: <patrick48@example.com> > Mailing-List: contact patrick48@example.com; run by ezmlm > Received: (qmail 46859 invoked from network); 15 Oct 2003 22:22:33 - > 0000 > From: "Rick Kellogg" <patrick48@example.com> > To: <patrick48@example.com>, > <patrick48@example.com> > Subject: RE: change soap messages xml encoding to iso-8859-1 > Date: Wed, 15 Oct 2003 18:22:34 -0400 > --> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://nagoya.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: patrick48@example.com For additional commands, e-mail: patrick48@example.com From patrick48@example.com Fri Nov 12 10:57:25 2004 Return-Path: <patrick48@example.com> Delivered-To: patrick48@example.com Received: (qmail 25981 invoked from network); 12 Nov 2004 10:57:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 12 Nov 2004 10:57:24 -0000 Received: (qmail 36641 invoked by uid 500); 12 Nov 2004 10:57:24 -0000 Delivered-To: patrick48@example.com Received: (qmail 36615 invoked by uid 500); 12 Nov 2004 10:57:24 -0000 Mailing-List: contact patrick48@example.com; run by ezmlm Precedence: bulk list-help: <mailto:patrick48@example.com> list-unsubscribe: <mailto:patrick48@example.com> list-post: <mailto:patrick48@example.com> Delivered-To: mailing list patrick48@example.com Received: (qmail 36598 invoked by uid 99); 12 Nov 2004 10:57:23 -0000 Received-SPF: pass (hermes.apache.org: local policy) Received: from [83.161.120.155] (HELO aries.informasa.es) (83.161.120.155) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 12 Nov 2004 02:57:23 -0800 Received: from capri.informasa.es (patrick48@example.com [83.161.120.155]) by aries.informasa.es (8.12.3/8.12.3/Debian-6.6) with ESMTP id iACAvGSm026542; Fri, 12 Nov 2004 11:57:16 +0100 Received: from [83.161.120.155] ([83.161.120.155]) by capri.informasa.es (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id LAA03640; Fri, 12 Nov 2004 11:57:17 +0100 Message-ID: <patrick48@example.com> Date: Fri, 12 Nov 2004 12:04:04 +0100 From: "Nacho G. Mac Dowell" <patrick48@example.com> Reply-To: patrick48@example.com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jochen Wiedmann <patrick48@example.com> CC: patrick48@example.com Subject: Re: [jira] Updated: (JAXME-33) Missing Eclipse plugin References: <1369160067.1095330218321.JavaMail.apache@nagoya> <patrick48@example.com> <patrick48@example.com> <patrick48@example.com> In-Reply-To: <patrick48@example.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N After a few weeks of intense work here at my job, I managed to get some time out last week and finnished? a first useful release. Features include: -Generate sources (using ant) and persist chosen settings -Generate ant build file and persist chosen settings -Preference page to specify the jaxme install directory or to directly specify src folders as jaxme classpath (developpers). -Configure project based on these settings (if it doesn't have Java Nature add java nature and include as classpath all paths form preference page) Basically it consists of 2 actions (one right clicking a project to be able to configure and one for *.xsd files which shows a dialog) and a Preference Page. Please be patient as errors arise. I've taken care to test as many features combinations as possible but most probably I left out some. Plus, some major refactoring is on sight. I am using JaxMe in the plugin to be able to persist the dialog settings. It is the dialog settings that are stored and not the ant build file. I couldn't figure how to unmarshall an ant build file if this has been hand coded. These dialog settings are then marshalled and transformed through a xslt to give an ant build file. If you choose to export the ant build file, work finnishes here. If you choose to generate the sources it will execute the same ant build file previously saved in the user directory. I was thinking of making another plugin (really the same) which comes with the latest JaxMe distribution. Another possibility (not sure about it, but it would be nice) is to make a web service which gives me a point to the latest distribution so I can download from eclipse. The dialog settings get saved every time you close the dialog (not sure if this is best) with the xsd file as the key and the reset button resets the dialog to the previously saved settings. BTW the update site is the same: http://www.visual-ma.com/eclipse/jaxme Take a look at the site on your browser as I used Maven to manage the project. These are only a few of all the reports available (from maven). Criticisms and suggestions are very welcome. Nacho G. Mac Dowell TODO: Have classpath "per schema" instead of "per workspace". It involves creating a list with a similar behaviour as the preference page. PD: I know this is out of the scope of this mailing list, but truly, ibm has given a great impulse to open source by opening eclipse source code. It is really amazing. PPD: I saw that w3c (and possibly lots of other places) only know about JaxMe 0.2 (http://www.w3.org/XML/Schema#JaxMe). It'd be nice at this point to try to make some JaxMe advocacy. What do you think? --------------------------------------------------------------------- To unsubscribe, e-mail: patrick48@example.com For additional commands, e-mail: patrick48@example.com From patrick48@example.com Fri Nov 12 22:04:28 2004 Return-Path: <patrick48@example.com> Delivered-To: patrick48@example.com Received: (qmail 76629 invoked from network); 12 Nov 2004 22:04:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 12 Nov 2004 22:04:28 -0000 Received: (qmail 61582 invoked by uid 500); 12 Nov 2004 22:04:27 -0000 Delivered-To: patrick48@example.com Received: (qmail 61455 invoked by uid 500); 12 Nov 2004 22:04:27 -0000 Mailing-List: contact patrick48@example.com; run by ezmlm Precedence: bulk list-help: <mailto:patrick48@example.com> list-unsubscribe: <mailto:patrick48@example.com> list-post: <mailto:patrick48@example.com> Delivered-To: mailing list patrick48@example.com Received: (qmail 61338 invoked by uid 99); 12 Nov 2004 22:04:26 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [83.161.120.155] (HELO mail.LF.net) (83.161.120.155) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 12 Nov 2004 14:04:21 -0800 Received: from dsl.ispsoft.de ([83.161.120.155] helo=stujwi.software-ag.de) by mail.LF.net with esmtp (Exim 4.41) id 1CSjWc-000BxM-Mv; Fri, 12 Nov 2004 23:04:11 +0100 Received: from [83.161.120.155] (stujwi [83.161.120.155]) by stujwi.software-ag.de (8.13.1/8.12.11) with ESMTP id iACM486i003640; Fri, 12 Nov 2004 23:04:09 +0100 Message-ID: <patrick48@example.com> Date: Fri, 12 Nov 2004 23:04:08 +0100 From: Jochen Wiedmann <patrick48@example.com> User-Agent: Mozilla Thunderbird 0.8 (X11/20041020) X-Accept-Language: en-us, en MIME-Version: 1.0 To: patrick48@example.com CC: patrick48@example.com Subject: Re: [jira] Updated: (JAXME-33) Missing Eclipse plugin References: <1369160067.1095330218321.JavaMail.apache@nagoya> <patrick48@example.com> <patrick48@example.com> <patrick48@example.com> <patrick48@example.com> In-Reply-To: <patrick48@example.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Running "generate sources" gave me the following error message: java.io.FileNotFoundException: /tmp./tempBuildFile.xml (No such file or directory) java.io.FileOutputStream.open(Native Method) java.io.FileOutputStream.<init>(FileOutputStream.java:179) java.io.FileOutputStream.<init>(FileOutputStream.java:131) jaxme.ui.Tasks$3.run(Tasks.java:255) -- http://lilypie.com/baby1/050423/1/5/1/+1 --------------------------------------------------------------------- To unsubscribe, e-mail: patrick48@example.com For additional commands, e-mail: patrick48@example.com From patrick48@example.com Mon Nov 15 08:18:11 2004 Return-Path: <patrick48@example.com> Delivered-To: patrick48@example.com Received: (qmail 46411 invoked from network); 15 Nov 2004 08:18:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 15 Nov 2004 08:18:10 -0000 Received: (qmail 14342 invoked by uid 500); 15 Nov 2004 08:18:10 -0000 Delivered-To: patrick48@example.com Received: (qmail 14313 invoked by uid 500); 15 Nov 2004 08:18:10 -0000 Mailing-List: contact patrick48@example.com; run by ezmlm Precedence: bulk list-help: <mailto:patrick48@example.com> list-unsubscribe: <mailto:patrick48@example.com> list-post: <mailto:patrick48@example.com> Delivered-To: mailing list patrick48@example.com Received: (qmail 14299 invoked by uid 99); 15 Nov 2004 08:18:09 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [83.161.120.155] (HELO aries.informasa.es) (83.161.120.155) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 15 Nov 2004 00:18:07 -0800 Received: from capri.informasa.es (patrick48@example.com [83.161.120.155]) by aries.informasa.es (8.12.3/8.12.3/Debian-6.6) with ESMTP id iAF8HvSm014537; Mon, 15 Nov 2004 09:17:58 +0100 Received: from [83.161.120.155] ([83.161.120.155]) by capri.informasa.es (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id JAA08727; Mon, 15 Nov 2004 09:17:58 +0100 Message-ID: <patrick48@example.com> Date: Mon, 15 Nov 2004 09:24:47 +0100 From: "Nacho G. Mac Dowell" <patrick48@example.com> Reply-To: patrick48@example.com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jochen Wiedmann <patrick48@example.com> CC: patrick48@example.com Subject: Re: [jira] Updated: (JAXME-33) Missing Eclipse plugin References: <1369160067.1095330218321.JavaMail.apache@nagoya> <patrick48@example.com> <patrick48@example.com> <patrick48@example.com> <patrick48@example.com> <patrick48@example.com> In-Reply-To: <patrick48@example.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, the problem is that System.getProperty("java.io.tmpdir") in windows ends with the file.separator and it seems that it doesn't in linux. I am not sure how I should handle this: 83.161.120.155? just replace 0.2.0 with this error fix? Since nobody is using jaxmeui, I probably prefer the second option. Do you think that using the user's tmp dir is the correct way? Jochen Wiedmann wrote: > > Running "generate sources" gave me the following error message: > > java.io.FileNotFoundException: /tmp./tempBuildFile.xml (No such file > or directory) > java.io.FileOutputStream.open(Native Method) > java.io.FileOutputStream.<init>(FileOutputStream.java:179) > java.io.FileOutputStream.<init>(FileOutputStream.java:131) > jaxme.ui.Tasks$3.run(Tasks.java:255) > --------------------------------------------------------------------- To unsubscribe, e-mail: patrick48@example.com For additional commands, e-mail: patrick48@example.com From patrick48@example.com Mon Nov 15 15:35:09 2004 Return-Path: <patrick48@example.com> Delivered-To: patrick48@example.com Received: (qmail 4582 invoked from network); 15 Nov 2004 15:35:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 15 Nov 2004 15:35:09 -0000 Received: (qmail 64689 invoked by uid 500); 15 Nov 2004 15:35:09 -0000 Delivered-To: patrick48@example.com Received: (qmail 64662 invoked by uid 500); 15 Nov 2004 15:35:08 -0000 Mailing-List: contact patrick48@example.com; run by ezmlm Precedence: bulk list-help: <mailto:patrick48@example.com> list-unsubscribe: <mailto:patrick48@example.com> list-post: <mailto:patrick48@example.com> Delivered-To: mailing list patrick48@example.com Received: (qmail 64513 invoked by uid 99); 15 Nov 2004 15:35:07 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [83.161.120.155] (HELO aries.informasa.es) (83.161.120.155) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 15 Nov 2004 07:35:05 -0800 Received: from capri.informasa.es (patrick48@example.com [83.161.120.155]) by aries.informasa.es (8.12.3/8.12.3/Debian-6.6) with ESMTP id iAFFYvSm005571; Mon, 15 Nov 2004 16:34:57 +0100 Received: from [83.161.120.155] ([83.161.120.155]) by capri.informasa.es (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id QAA17214; Mon, 15 Nov 2004 16:34:57 +0100 Message-ID: <patrick48@example.com> Date: Mon, 15 Nov 2004 16:41:46 +0100 From: "Nacho G. Mac Dowell" <patrick48@example.com> Reply-To: patrick48@example.com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jochen Wiedmann <patrick48@example.com> CC: patrick48@example.com Subject: Re: [jira] Updated: (JAXME-33) Missing Eclipse plugin References: <1369160067.1095330218321.JavaMail.apache@nagoya> <patrick48@example.com> <patrick48@example.com> <patrick48@example.com> <patrick48@example.com> <patrick48@example.com> In-Reply-To: <patrick48@example.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I left the same version and fixed the problem. It is now checking whether the user tmp dir ends with file separator or not and adds it if it doesn't. Again the update site is the same. Jochen Wiedmann wrote: > > Running "generate sources" gave me the following error message: > > java.io.FileNotFoundException: /tmp./tempBuildFile.xml (No such file > or directory) > java.io.FileOutputStream.open(Native Method) > java.io.FileOutputStream.<init>(FileOutputStream.java:179) > java.io.FileOutputStream.<init>(FileOutputStream.java:131) > jaxme.ui.Tasks$3.run(Tasks.java:255) > --------------------------------------------------------------------- To unsubscribe, e-mail: patrick48@example.com For additional commands, e-mail: patrick48@example.com From patrick48@example.com Mon Nov 15 20:32:38 2004 Return-Path: <patrick48@example.com> Delivered-To: patrick48@example.com Received: (qmail 65806 invoked from network); 15 Nov 2004 20:32:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 15 Nov 2004 20:32:38 -0000 Received: (qmail 8870 invoked by uid 500); 15 Nov 2004 20:32:26 -0000 Delivered-To: patrick48@example.com Received: (qmail 8789 invoked by uid 500); 15 Nov 2004 20:32:26 -0000 Mailing-List: contact patrick48@example.com; run by ezmlm Precedence: bulk list-help: <mailto:patrick48@example.com> list-unsubscribe: <mailto:patrick48@example.com> list-post: <mailto:patrick48@example.com> Delivered-To: mailing list patrick48@example.com Received: (qmail 8726 invoked by uid 99); 15 Nov 2004 20:32:25 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [83.161.120.155] (HELO mail.LF.net) (83.161.120.155) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 15 Nov 2004 12:32:20 -0800 Received: from dsl.ispsoft.de ([83.161.120.155] helo=stujwi.software-ag.de) by mail.LF.net with esmtp (Exim 4.41) id 1CTnWA-0005JS-Rg; Mon, 15 Nov 2004 21:32:07 +0100 Received: from [83.161.120.155] (stujwi [83.161.120.155]) by stujwi.software-ag.de (8.13.1/8.12.11) with ESMTP id iAFKW5jK003539; Mon, 15 Nov 2004 21:32:05 +0100 Message-ID: <patrick48@example.com> Date: Mon, 15 Nov 2004 21:32:04 +0100 From: Jochen Wiedmann <patrick48@example.com> User-Agent: Mozilla Thunderbird 0.8 (X11/20041020) X-Accept-Language: en-us, en MIME-Version: 1.0 To: patrick48@example.com CC: patrick48@example.com Subject: Re: [jira] Updated: (JAXME-33) Missing Eclipse plugin References: <1369160067.1095330218321.JavaMail.apache@nagoya> <patrick48@example.com> <patrick48@example.com> <patrick48@example.com> <patrick48@example.com> <patrick48@example.com> <patrick48@example.com> In-Reply-To: <patrick48@example.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Nacho G. Mac Dowell wrote: > Again the update site is the same. Well, in that case: How do I get an update? :-) Thanks, Jochen -- http://lilypie.com/baby1/050423/1/5/1/+1 --------------------------------------------------------------------- To unsubscribe, e-mail: patrick48@example.com For additional commands, e-mail: patrick48@example.com From patrick48@example.com Tue Nov 16 08:25:39 2004 Return-Path: <patrick48@example.com> Delivered-To: patrick48@example.com Received: (qmail 77429 invoked from network); 16 Nov 2004 08:25:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 16 Nov 2004 08:25:39 -0000 Received: (qmail 14711 invoked by uid 500); 16 Nov 2004 08:25:38 -0000 Delivered-To: patrick48@example.com Received: (qmail 14681 invoked by uid 500); 16 Nov 2004 08:25:38 -0000 Mailing-List: contact patrick48@example.com; run by ezmlm Precedence: bulk list-help: <mailto:patrick48@example.com> list-unsubscribe: <mailto:patrick48@example.com> list-post: <mailto:patrick48@example.com> Delivered-To: mailing list patrick48@example.com Received: (qmail 14668 invoked by uid 99); 16 Nov 2004 08:25:38 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [83.161.120.155] (HELO aries.informasa.es) (83.161.120.155) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 16 Nov 2004 00:25:35 -0800 Received: from capri.informasa.es (patrick48@example.com [83.161.120.155]) by aries.informasa.es (8.12.3/8.12.3/Debian-6.6) with ESMTP id iAG8PRSm018183; Tue, 16 Nov 2004 09:25:27 +0100 Received: from [83.161.120.155] ([83.161.120.155]) by capri.informasa.es (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id JAA09474; Tue, 16 Nov 2004 09:25:27 +0100 Message-ID: <patrick48@example.com> Date: Tue, 16 Nov 2004 09:32:17 +0100 From: "Nacho G. Mac Dowell" <patrick48@example.com> Reply-To: patrick48@example.com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jochen Wiedmann <patrick48@example.com> CC: patrick48@example.com Subject: Re: [jira] Updated: (JAXME-33) Missing Eclipse plugin References: <1369160067.1095330218321.JavaMail.apache@nagoya> <patrick48@example.com> <patrick48@example.com> <patrick48@example.com> <patrick48@example.com> <patrick48@example.com> <patrick48@example.com> <patrick48@example.com> In-Reply-To: <patrick48@example.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Silly me...Check for updates now (0.2.1 is up). Jochen Wiedmann wrote: > Nacho G. Mac Dowell wrote: > >> Again the update site is the same. > > > Well, in that case: How do I get an update? :-) > > > Thanks, > > Jochen > --------------------------------------------------------------------- To unsubscribe, e-mail: patrick48@example.com For additional commands, e-mail: patrick48@example.com From patrick48@example.com Thu Nov 25 09:56:44 2004 Return-Path: <patrick48@example.com> Delivered-To: patrick48@example.com Received: (qmail 27252 invoked from network); 25 Nov 2004 09:56:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 25 Nov 2004 09:56:43 -0000 Received: (qmail 66736 invoked by uid 500); 25 Nov 2004 09:56:43 -0000 Delivered-To: patrick48@example.com Received: (qmail 66709 invoked by uid 500); 25 Nov 2004 09:56:42 -0000 Mailing-List: contact patrick48@example.com; run by ezmlm Precedence: bulk list-help: <mailto:patrick48@example.com> list-unsubscribe: <mailto:patrick48@example.com> list-post: <mailto:patrick48@example.com> Delivered-To: mailing list patrick48@example.com Received: (qmail 66686 invoked by uid 500); 25 Nov 2004 09:56:42 -0000 Delivered-To: patrick48@example.com Received: (qmail 66677 invoked by uid 99); 25 Nov 2004 09:56:42 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.28) with SMTP; Thu, 25 Nov 2004 01:56:40 -0800 Received: (qmail 27215 invoked by uid 1113); 25 Nov 2004 09:56:39 -0000 Date: 25 Nov 2004 09:56:39 -0000 Message-ID: <patrick48@example.com> From: patrick48@example.com To: patrick48@example.com Subject: cvs commit: ws-jaxme/src/js/org/apache/ws/jaxme/sqls SetStatement.java X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N jochen 2004/11/25 01:56:39 Modified: src/js/org/apache/ws/jaxme/sqls/impl InsertStatementImpl.java SetStatementImpl.java SQLGeneratorImpl.java src/js/org/apache/ws/jaxme/sqls SetStatement.java Log: Added support for subselects, etc., as column values in INSERT statements. Revision Changes Path 1.4 +2 -0 ws-jaxme/src/js/org/apache/ws/jaxme/sqls/impl/InsertStatementImpl.java Index: InsertStatementImpl.java =================================================================== RCS file: /home/cvs/ws-jaxme/src/js/org/apache/ws/jaxme/sqls/impl/InsertStatementImpl.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- InsertStatementImpl.java 25 Jun 2004 09:14:38 -0000 1.3 +++ InsertStatementImpl.java 25 Nov 2004 09:56:38 -0000 1.4 @@ -16,9 +16,11 @@ */ package org.apache.ws.jaxme.sqls.impl; +import org.apache.ws.jaxme.sqls.Function; import org.apache.ws.jaxme.sqls.InsertStatement; import org.apache.ws.jaxme.sqls.SQLFactory; import org.apache.ws.jaxme.sqls.SelectStatement; +import org.apache.ws.jaxme.sqls.Column.Name; /** 1.3 +23 -8 ws-jaxme/src/js/org/apache/ws/jaxme/sqls/impl/SetStatementImpl.java Index: SetStatementImpl.java =================================================================== RCS file: /home/cvs/ws-jaxme/src/js/org/apache/ws/jaxme/sqls/impl/SetStatementImpl.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- SetStatementImpl.java 16 Feb 2004 23:39:49 -0000 1.2 +++ SetStatementImpl.java 25 Nov 2004 09:56:38 -0000 1.3 @@ -23,9 +23,12 @@ import org.apache.ws.jaxme.sqls.Column; import org.apache.ws.jaxme.sqls.ColumnReference; +import org.apache.ws.jaxme.sqls.Function; import org.apache.ws.jaxme.sqls.SQLFactory; +import org.apache.ws.jaxme.sqls.SelectStatement; import org.apache.ws.jaxme.sqls.SetStatement; import org.apache.ws.jaxme.sqls.Value; +import org.apache.ws.jaxme.sqls.Column.Name; /** @@ -34,8 +37,8 @@ public abstract class SetStatementImpl extends StatementImpl implements SetStatement { public static class SetValueImpl implements SetStatement.SetValue { private final ColumnReference columnReference; - private final Value value; - public SetValueImpl(ColumnReference pColumn, Value pValue) { + private final Object value; + public SetValueImpl(ColumnReference pColumn, Object pValue) { if (pColumn == null) { throw new NullPointerException("Column reference must not be null."); } @@ -47,7 +50,7 @@ } public ColumnReference getColumnReference() { return columnReference; } - public Value getValue() { return value; } + public Object getValue() { return value; } } private List setValues = new ArrayList(); @@ -59,19 +62,31 @@ public Iterator getSetValues() { return setValues.iterator(); } public void addSet(ColumnReference pColumn, Value pValue) { - if (!pColumn.getTableReference().equals(getTableReference())) { + addSet(pColumn, pValue); + } + protected void addSet(ColumnReference pRef, Object pValue) { + if (!pRef.getTableReference().equals(getTableReference())) { throw new IllegalArgumentException("The column has an invalid table reference."); } - setValues.add(new SetValueImpl(pColumn, pValue)); + setValues.add(new SetValueImpl(pRef, pValue)); + } + public void addSet(Column pColumn, Object pValue) { + addSet(getTableReference().newColumnReference(pColumn), pValue); + } + public void addSet(String pColumn, Object pValue) { + addSet(getTableReference().newColumnReference(pColumn), pValue); + } + public void addSet(Column.Name pColumn, Object pValue) { + addSet(getTableReference().newColumnReference(pColumn), pValue); } public void addSet(Column pColumn, Value pValue) { - setValues.add(new SetValueImpl(getTableReference().newColumnReference(pColumn), pValue)); + addSet(pColumn, (Object) pValue); } public void addSet(Column.Name pColumn, Value pValue) { - setValues.add(new SetValueImpl(getTableReference().newColumnReference(pColumn), pValue)); + addSet(getTableReference().newColumnReference(pColumn), (Object) pValue); } public void addSet(String pColumn, Value pValue) { - setValues.add(new SetValueImpl(getTableReference().newColumnReference(pColumn), pValue)); + addSet(getTableReference().newColumnReference(pColumn), (Object) pValue); } public void addSetNull(Column pColumn) { 1.24 +4 -2 ws-jaxme/src/js/org/apache/ws/jaxme/sqls/impl/SQLGeneratorImpl.java Index: SQLGeneratorImpl.java =================================================================== RCS file: /home/cvs/ws-jaxme/src/js/org/apache/ws/jaxme/sqls/impl/SQLGeneratorImpl.java,v retrieving revision 1.23 retrieving revision 1.24 diff -u -r1.23 -r1.24 --- SQLGeneratorImpl.java 22 Sep 2004 10:05:53 -0000 1.23 +++ SQLGeneratorImpl.java 25 Nov 2004 09:56:38 -0000 1.24 @@ -402,7 +402,9 @@ pBuffer.append(", "); } SetStatement.SetValue setValue = (SetStatement.SetValue) iter.next(); - pBuffer.append(getValue(setValue.getValue())); + Object o = setValue.getValue(); + String s = getBooleanConstraintPart(pData, o); + pBuffer.append(s); } pBuffer.append(")"); } @@ -496,7 +498,7 @@ } sb.append(getColumnAlias(smd, setValue.getColumnReference())); sb.append("="); - sb.append(getValue(setValue.getValue())); + sb.append(getBooleanConstraintPart(smd, setValue.getValue())); } String s = getWhereClause(smd, pQuery.getWhere()); if (s != null) { 1.3 +188 -173 ws-jaxme/src/js/org/apache/ws/jaxme/sqls/SetStatement.java Index: SetStatement.java =================================================================== RCS file: /home/cvs/ws-jaxme/src/js/org/apache/ws/jaxme/sqls/SetStatement.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- SetStatement.java 16 Feb 2004 23:39:53 -0000 1.2 +++ SetStatement.java 25 Nov 2004 09:56:39 -0000 1.3 @@ -20,179 +20,194 @@ import java.util.Iterator; -/** <p>A common base interface for {@link org.apache.ws.jaxme.sqls.InsertStatement} - * and {@link org.apache.ws.jaxme.sqls.UpdateStatement}.</p> - * - * @author <a href="mailto:patrick48@example.com">Jochen Wiedmann</a> +/** A common base interface for {@link org.apache.ws.jaxme.sqls.InsertStatement} + * and {@link org.apache.ws.jaxme.sqls.UpdateStatement}. */ public interface SetStatement extends Statement { - public interface SetValue { - /** <p>Returns the column being set.</p> - */ - public ColumnReference getColumnReference(); - /** <p>Returns the value to which the column is being set.</p> - */ - public Value getValue(); - } - - /** <p>Returns an {@link Iterator} to all values being set. - * Any element in the iterator is an instance of {@link SetValue}.</p> - */ - public Iterator getSetValues(); - - /** <p>Adds a SET clause setting the given column to NULL.</p> - */ - public void addSetNull(Column pColumn); - /** <p>Adds a SET clause setting the given column to NULL.</p> - */ - public void addSetNull(Column.Name pColumn); - /** <p>Adds a SET clause setting the given column to NULL.</p> - */ - public void addSetNull(String pColumn); - - /** <p>Adds a SET clause setting the given column to a value - * given by a placeholder.</p> - */ - public void addSet(Column pColumn); - /** <p>Adds a SET clause setting the given column to a value - * given by a placeholder.</p> - */ - public void addSet(Column.Name pColumn); - /** <p>Adds a SET clause setting the given column to a value - * given by a placeholder.</p> - */ - public void addSet(String pColumn); - - /** <p>Adds a SET clause setting the given column to the value - * <code>pValue<code>.</p> - */ - public void addSet(Column pColumn, byte pValue); - /** <p>Adds a SET clause setting the given column to the value - * <code>pValue</code>.</p> - */ - public void addSet(Column.Name pColumn, byte pValue); - /** <p>Adds a SET clause setting the given column to the value - * <code>pValue</code>.</p> - */ - public void addSet(String pColumn, byte pValue); - - /** <p>Adds a SET clause setting the given column to the value - * <code>pValue<code>.</p> - */ - public void addSet(Column pColumn, short pValue); - /** <p>Adds a SET clause setting the given column to the value - * <code>pValue</code>.</p> - */ - public void addSet(Column.Name pColumn, short pValue); - /** <p>Adds a SET clause setting the given column to the value - * <code>pValue</code>.</p> - */ - public void addSet(String pColumn, short pValue); - - /** <p>Adds a SET clause setting the given column to the value - * <code>pValue<code>.</p> - */ - public void addSet(Column pColumn, int pValue); - /** <p>Adds a SET clause setting the given column to the value - * <code>pValue</code>.</p> - */ - public void addSet(Column.Name pColumn, int pValue); - /** <p>Adds a SET clause setting the given column to the value - * <code>pValue</code>.</p> - */ - public void addSet(String pColumn, int pValue); - - /** <p>Adds a SET clause setting the given column to the value - * <code>pValue<code>.</p> - */ - public void addSet(Column pColumn, long pValue); - /** <p>Adds a SET clause setting the given column to the value - * <code>pValue</code>.</p> - */ - public void addSet(Column.Name pColumn, long pValue); - /** <p>Adds a SET clause setting the given column to the value - * <code>pValue</code>.</p> - */ - public void addSet(String pColumn, long pValue); - - - /** <p>Adds a SET clause setting the given column to the value - * <code>pValue<code>.</p> - */ - public void addSet(Column pColumn, float pValue); - /** <p>Adds a SET clause setting the given column to the value - * <code>pValue</code>.</p> - */ - public void addSet(Column.Name pColumn, float pValue); - /** <p>Adds a SET clause setting the given column to the value - * <code>pValue</code>.</p> - */ - public void addSet(String pColumn, float pValue); - - /** <p>Adds a SET clause setting the given column to the value - * TRUE or FALSE, depending on <code>pValue<code>.</p> - */ - public void addSet(Column pColumn, boolean pValue); - /** <p>Adds a SET clause setting the given column to the value - * TRUE or FALSE, depending on <code>pValue<code>.</p> - */ - public void addSet(Column.Name pColumn, boolean pValue); - /** <p>Adds a SET clause setting the given column to the value - * TRUE or FALSE, depending on <code>pValue<code>.</p> - */ - public void addSet(String pColumn, boolean pValue); - - /** <p>Adds a SET clause setting the given column to the value - * <code>pValue<code>.</p> - */ - public void addSet(Column pColumn, String pValue); - /** <p>Adds a SET clause setting the given column to the value - * <code>pValue</code>.</p> - */ - public void addSet(Column.Name pColumn, String pValue); - /** <p>Adds a SET clause setting the given column to the value - * <code>pValue</code>.</p> - */ - public void addSet(String pColumn, String pValue); - - /** <p>Adds a SET clause setting the given column to the datetime - * value <code>pValue<code>.</p> - */ - public void addSetDateTime(Column pColumn, Calendar pValue); - /** <p>Adds a SET clause setting the given column to the datetime - * value <code>pValue</code>.</p> - */ - public void addSetDateTime(Column.Name pColumn, Calendar pValue); - /** <p>Adds a SET clause setting the given column to the datetime - * value <code>pValue</code>.</p> - */ - public void addSetDateTime(String pColumn, Calendar pValue); - - /** <p>Adds a SET clause setting the given column to the time value - * <code>pValue<code>. Shortcut for - * <code>addSet(getTable().newColumnReference(pColumn), pValue)</code>.</p> - */ - public void addSetTime(Column pColumn, Calendar pValue); - /** <p>Adds a SET clause setting the given column to the time value - * <code>pValue</code>. Shortcut for - * <code>addSet(getTable().newColumnReference(pColumn), pValue)</code>.</p> - */ - public void addSetTime(Column.Name pColumn, Calendar pValue); - /** <p>Adds a SET clause setting the given column to the time value - * <code>pValue</code>.</p> - */ - public void addSetTime(String pColumn, Calendar pValue); - - /** <p>Adds a SET clause setting the given column to the date value - * <code>pValue<code>.</p> - */ - public void addSetDate(Column pColumn, Calendar pValue); - /** <p>Adds a SET clause setting the given column to the date value - * <code>pValue</code>.</p> - */ - public void addSetDate(Column.Name pColumn, Calendar pValue); - /** <p>Adds a SET clause setting the given column to the date value - * <code>pValue</code>.</p> - */ - public void addSetDate(String pColumn, Calendar pValue); + /** A tupel of column name and value being assigned. + */ + public interface SetValue { + /** Returns the column being set. + */ + public ColumnReference getColumnReference(); + /** Returns the value to which the column is being set. + */ + public Object getValue();
{'source': 'Apache Software Foundation Public Mail Archives'}