Thanks for this. I thought it was probably something of that type. Intake is
an great service and I just want to get it up and running. :)

James

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Henning P. Schmiedehausen
Sent: 01 June 2001 12:41
To: [EMAIL PROTECTED]
Subject: Re: Intake not working in TDK2.1b4?


"James Coltman" <[EMAIL PROTECTED]> writes:

>Have the supported rule attributes been changed in the latest tdk?

>I've stepped through the code and it would appear that when parsing the
rule
>tags in the xml file Intake is now looking for a name and value attribute.
>Here is the method from the Rule class:

>    public void loadFromXML (Attributes attrib)
>    {
>        setName(attrib.getValue("name"));
>        setValue(attrib.getValue("value"));
>    }

>It no longer seems to support the attributes described in the service
>documentation such as minLength.

>Can anyone shed some light on this?

I stumbled on this too, but reading the most official source of
documentation for Turbine (TM), which seems to be the scarab source
code, you use now

<rule name="maxLength" value="80">xxx</rule>
<rule name="mask" value="\d\d?\.\d\d?\.\d\d\d\d">xxx</rule>

and so on. I use this in an application and it works fine.

The documentation is wrong in this point. IMHO, the one who
broke/changed that, should fix the documentation.

        Regards
                Henning

--
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen       -- Geschaeftsfuehrer
INTERMETA - Gesellschaft fuer Mehrwertdienste mbH     [EMAIL PROTECTED]

Am Schwabachgrund 22  Fon.: 09131 / 50654-0   [EMAIL PROTECTED]
D-91054 Buckenhof     Fax.: 09131 / 50654-20

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to