Just a heads-up :)

I believe that there is a mistake in the Intake Service document.  Perhaps 
the dtd has changed since the original rev of the doc.

In the document "Intake Service" located at 
http://jakarta.apache.org/turbine/turbine-2/services/intake-service.html

There is an example that looks like this (only one instance):
-------------------------
<field name="Username" key="u" type="String">
    <rule minLength="1">Please enter an email address</rule>
    <rule mask=".+@.+\..+">Please enter a valid email address</rule>
</field>
<field name="Password" key="p" type="String">
    <rule minLength="1">Please enter a password</rule>
</field>
-------------------------



However, per the dtd, it seems that the structure should be like this:
-------------------------
<field name="Username" key="u" type="String">
    <rule name="minLength" value="1">Please enter an email address</rule>
    <rule name="mask" value=".+@.+\..+">Please enter a valid email 
address</rule>
</field>
<field name="Password" key="p" type="String">
    <rule name="minLength" value="1">Please enter a password</rule>
</field>
-------------------------
... which seems to make more sense anyway.



_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


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

Reply via email to