PageRenderTime 12ms CodeModel.GetById 9ms app.highlight 0ms RepoModel.GetById 2ms app.codeStats 0ms

/SampleApplication/ColdBox3/model/artist/Artist.xml

http://github.com/bobsilverberg/ValidateThisColdBoxPlugin
XML | 19 lines | 19 code | 0 blank | 0 comment | 0 complexity | f906ed27864a5720be4c841a791d1277 MD5 | raw file
 1<?xml version="1.0" encoding="UTF-8"?>
 2<validateThis xsi:noNamespaceSchemaLocation="validateThis.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
 3	<objectProperties>
 4		<property name="Firstname" desc="First Name">
 5			<rule type="required" />
 6		</property>
 7		<property name="Lastname" desc="Last Name">
 8			<rule type="required" />
 9			<rule type="rangelength" contexts="*">
10				<param minlength="5" />
11				<param maxlength="10" />
12			</rule>
13		</property>
14		<property name="email" desc="Email Address">
15			<rule type="required" />
16			<rule type="email" failureMessage="Hey, buddy, you call that an Email Address?" />
17		</property>
18	</objectProperties>
19</validateThis>