John McNally wrote:
> It should not be going to the turbine site, except possibly in an unusal
> situation. the dtd is packaged inside the jar. Though the url given in
> the xml doc should point to the turbine site.
>
> That is likely it. There is no longer conditional validation, you must
> reference the dtd in your
> xml file.
>
> john mcnally
Here is my intake.xml file:
<?xml version="1.0" encoding="ISO-8859-1" standalone="no" ?>
<!DOCTYPE input-data SYSTEM
"http://jakarta.apache.org/turbine/dtd/intake.dtd">
<input-data basePackage="com.sendmail.gui.vcube.samples.listeditor.">
<group name="Login" key="login">
<field name="Login" key="l" type="String">
<rule name="mask" value="[a-zA-Z.@0-9]+">TEXT.requireLogin</rule>
<required-message>TEXT.requireLogin</required-message>
</field>
<field name="Password" key="p" type="String">
<required-message>TEXT.requireLogin</required-message>
</field>
</group>
</input-data>
Well, it's essentially the old one that I tested against Turbine 2.1.
Where is the intake.dtd packaged btw? I can't seem to find it in the jars.
I'm connected to the internet BTW... I can use a wget and get the
intake.dtd from Turbine's site.
--
William Lee (Will) | Sendmail Inc.
Email: [EMAIL PROTECTED] | http://www.sendmail.com
Tel: (510) 594-5505 |
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>