Return-Path: Delivered-To: apmail-geronimo-xbean-dev-archive@minotaur.apache.org Received: (qmail 96831 invoked from network); 10 Sep 2009 09:24:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Sep 2009 09:24:20 -0000 Received: (qmail 45565 invoked by uid 500); 10 Sep 2009 09:24:20 -0000 Delivered-To: apmail-geronimo-xbean-dev-archive@geronimo.apache.org Received: (qmail 45490 invoked by uid 500); 10 Sep 2009 09:24:20 -0000 Mailing-List: contact xbean-dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: xbean-dev@geronimo.apache.org Delivered-To: mailing list xbean-dev@geronimo.apache.org Received: (qmail 45125 invoked by uid 99); 10 Sep 2009 09:24:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Sep 2009 09:24:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Sep 2009 09:24:17 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7C04D234C004 for ; Thu, 10 Sep 2009 02:23:57 -0700 (PDT) Message-ID: <332270408.1252574637499.JavaMail.jira@brutus> Date: Thu, 10 Sep 2009 02:23:57 -0700 (PDT) From: "Gary Tully (JIRA)" To: xbean-dev@geronimo.apache.org Subject: [jira] Commented: (XBEAN-136) xsd generator needs to be aware of @org.apache.xbean.Property propertyEditor feature so that types with propertyEditors are mapped to strings In-Reply-To: <2102651020.1252335057765.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/XBEAN-136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12753518#action_12753518 ] Gary Tully commented on XBEAN-136: ---------------------------------- david, can you make a snapshot of 3.6 available? thx. would like to make a activemq 5.3 snapshot available with the auto generated schemas. > xsd generator needs to be aware of @org.apache.xbean.Property propertyEditor feature so that types with propertyEditors are mapped to strings > --------------------------------------------------------------------------------------------------------------------------------------------- > > Key: XBEAN-136 > URL: https://issues.apache.org/jira/browse/XBEAN-136 > Project: XBean > Issue Type: Bug > Components: spring > Affects Versions: 3.5 > Reporter: Gary Tully > Assignee: David Jencks > Fix For: 3.6 > > Attachments: xbean-136.diff.patch > > > with {code}+ /** > + * @org.apache.xbean.Property propertyEditor="org.apache.xbean.spring.example.MilliLittersPropertyEditor" > + */ > + public void setVolumeWithPropertyEditor(long volume) { > + this.volume = volume; > + } > {code} > the generated xsd needs to map the attribute type to string to allow "X ml" to be valid against the schema. Otherwise, any xml that uses the string representation and utilises the propertyEditor will not validate. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.