|  |  | 
use XML::Schema::Facet::Builtin; my $facet = XML::Schema::Facet::length->new(value => 22);
fixed
' attribute
        to facets derived from it and the fixed()
        method to return a flag indicating if the object is fixed
        (e.g. immutable).
      
value
	to specify a particular length of a list (in elements) or string
        (in characters).
      
value
	to specify the minimum length of a list (in elements) or string
        (in characters).
      
value
	to specify the maximum length of a list (in elements) or string
        (in characters).
      
value
	to specify a regular expression which a string should match.
      
value
	to specify a reference to list of permitted values.
      
value to specify if and
	what whitespace should be performed on the string.  A value of
	'preserve' leaves all whitespace intact.  A value of 'replace'
	replaces newlines, carriage returns and tabs with spaces.  A
	value of 'collapse' additionally collapses sequences of
	multiple whitespace into a single space and strips any leading
        or trailing whitespace.
      
value
	to constrain a numerical value to an inclusive upper bound.
      
value
	to constrain a numerical value to an exclusive upper bound.
      
value
	to constrain a numerical value to an inclusive lower bound.
      
value
	to constrain a numerical value to an exclusive lower bound.
      
value
	to constrain the precision of a floating point number to a particular
        limit.
      
value
	to constrain the scale of a floating point number to a particular
        limit.
      
value
	to specify a particular encoding for binary data, one of the values
        'hex
' or 'base64
'.
        limit.
      
value
	to specify a particular fixed time duration.
      
value
	to specify a particular fixed time period.