mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
Fix a bug related to checking content's length.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8480 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
9142149a3a
commit
26c3fce74f
4 changed files with 89 additions and 38 deletions
14
tests/classes/validator/insertDocument.xml
Normal file
14
tests/classes/validator/insertDocument.xml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ruleset version="1.5.0">
|
||||
<customrules>
|
||||
</customrules>
|
||||
<fields>
|
||||
<field name="nick_name" length="1:20"/>
|
||||
<field name="password" length="1:20"/>
|
||||
<field name="email_address" rule="email" length=":250" />
|
||||
<field name="homepage" rule="url" length=":250" />
|
||||
<field name="title" required="true" length="1:250"/>
|
||||
<field name="content" required="true"/>
|
||||
<field name="category_srl" required="true" rule="number" default="0" />
|
||||
</fields>
|
||||
</ruleset>
|
||||
Loading…
Add table
Add a link
Reference in a new issue