[interchange-docs] xmldocs - racke modified glossary/profile

docs at icdevgroup.org docs at icdevgroup.org
Thu Mar 13 05:52:07 EST 2008


User:      racke
Date:      2008-03-13 10:52:06 GMT
Modified:  glossary profile
Log:
chained checks section added

Revision  Changes    Path
1.11      +16 -0     xmldocs/glossary/profile


rev 1.11, prev_rev 1.10
Index: profile
===================================================================
RCS file: /var/cvs/xmldocs/glossary/profile,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- profile	24 Feb 2008 19:49:57 -0000	1.10
+++ profile	13 Mar 2008 10:52:06 -0000	1.11
@@ -171,6 +171,22 @@
 
 </section>
 
+<section>
+<title>Chained Checks</title>
+<para>
+Checks can be combined with the <literal>&amp;and</literal> and 
+<literal>&amp;or</literal> profile operators. The following example
+uses the <literal>regex</literal> and <literal>length</literal>
+checks to ensure that the input is suitable for system usernames
+and is within certain length bounds.
+<programlisting>
+username=regex ^[a-z][-a-z0-9]*$ "Invalid characters in username."
+&amp;and
+username=length 6-32 Size limits exceeded (6-32 characters)
+</programlisting>
+</para>
+</section>
+
 <para>
 
 








More information about the docs mailing list