On Friday 07 August 2009 01:34:27 am James Agnew wrote:
> Hi Serbulent,
>
> Can you post the code you use to add the regex rule?
>
> Cheers,
> James
No :) Because as I said in my first mail I use Hapi's message validation
example so I use DefaultValidationContext. I'm expecting working of rules
which are defined in DefaultValidation.java ;) But specifiacally the problem
is
with datetime rule I paste it below
String datetimePattern
= "(\\d{4}([01]\\d(\\d{2}([012]\\d([0-5]\\d([0-5]\\d(\\.
\\d(\\d(\\d(\\d)?)?)?)?)?)?)?)?)?)?([\\+\\-]\\d{4})?";
Rule datetime = new RegexPrimitiveRule(datetimePattern, "Version 2.5
Section 2.16.25");
getPrimitiveRuleBindings().add(new RuleBinding("*", "TSComponentOne",
datetime));
PS: I'm not to be sure whether you saw my last message [1] or not ?
[1] http://tiny.cc/ilUHK
Regards,
--
Serbulent Unsal | Software Expert
GSM : +90 555 697 50 46 | Tel : +90.312.478 48 00
Akgun Softwares & Services Pvt. Ltd.
Çetin Emeç Bulv. 4. Cad. No:5/3
06460 A.Öveçler / ANKARA
This e-mail and its attachments are private and confidential to the exclusive
use of the individual or entity to whom it is addressed. It may also be
legally confidential. Any disclosure, distribution or other dissemination of
this message to any third party is strictly prohibited. If you are not the
intended recipient, you may not copy, forward, send or use any part of it. If
you are not the intended recipient or the person who is responsible to
transmit to the intended recipient, please contact the sender by reply e-mail
and destroy all copies of the original message and its attachments.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Hl7api-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hl7api-devel