Return-Path: Delivered-To: apmail-ofbiz-commits-archive@www.apache.org Received: (qmail 21858 invoked from network); 29 Jan 2008 14:00:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Jan 2008 14:00:05 -0000 Received: (qmail 71345 invoked by uid 500); 29 Jan 2008 13:59:56 -0000 Delivered-To: apmail-ofbiz-commits-archive@ofbiz.apache.org Received: (qmail 71321 invoked by uid 500); 29 Jan 2008 13:59:56 -0000 Mailing-List: contact commits-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ofbiz.apache.org Delivered-To: mailing list commits@ofbiz.apache.org Received: (qmail 71312 invoked by uid 99); 29 Jan 2008 13:59:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Jan 2008 05:59:56 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Jan 2008 13:59:37 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 3C3421A9832; Tue, 29 Jan 2008 05:59:44 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r616324 - /ofbiz/site/dtds/simple-methods.xsd Date: Tue, 29 Jan 2008 13:59:43 -0000 To: commits@ofbiz.apache.org From: jleroux@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080129135944.3C3421A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: jleroux Date: Tue Jan 29 05:59:41 2008 New Revision: 616324 URL: http://svn.apache.org/viewvc?rev=616324&view=rev Log: Seems that I have to learn regarding XSD... Modified: ofbiz/site/dtds/simple-methods.xsd Modified: ofbiz/site/dtds/simple-methods.xsd URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/simple-methods.xsd?rev=616324&r1=616323&r2=616324&view=diff ============================================================================== --- ofbiz/site/dtds/simple-methods.xsd (original) +++ ofbiz/site/dtds/simple-methods.xsd Tue Jan 29 05:59:41 2008 @@ -4947,6 +4947,14 @@ or directly from a value using at least one adjuster to modify the from-field date. The type of fields or value is Timestamp. + Again you can use the flexible string expander here, the + ${} syntax and such. It can also do a type conversion, + so going from whatever type the source data is in, + which would be a string value or whatever the variable + type is for a from field, it can convert that to any of + these types before setting it in the target field. + + You can also specify a default value in the case that the value evaluates to an empty string or the from-field is null or empty. Then the default-value will be used. @@ -4956,6 +4964,9 @@ You may specify a locale or a time-zone else the respective default request value is used. + + +