BindType

Complex Type Information

Model

Children: property, valueset

Attributes

QName Type Fixed Default Use Inheritable Annotation
enabled xs:boolean true optional
errorMessage StringWithEmbededXPath optional
errorMessage.max StringWithEmbededXPath optional
errorMessage.maxLength StringWithEmbededXPath optional
errorMessage.maxOccurs StringWithEmbededXPath optional
errorMessage.min StringWithEmbededXPath optional
errorMessage.minLength StringWithEmbededXPath optional
errorMessage.minOccurs StringWithEmbededXPath optional
errorMessage.regex StringWithEmbededXPath optional
errorMessage.type StringWithEmbededXPath optional
id xs:ID optional
max XPathExpression optional
maxLength XPathExpression optional
maxOccurs XPathExpression optional
min XPathExpression optional
minLength XPathExpression optional
minOccurs XPathExpression optional
regex XPathExpression optional
target XPathExpression required
type xs:QName optional
Wildcard: ANY attribute from ANY namespace OTHER than 'http://www.xrules.org/2003/11'

Used By

Source

<xs:complexType name="BindType">
  <xs:sequence>
    <xs:element name="valueset" type="ValuesetType" minOccurs="0" maxOccurs="1"/>
    <xs:element name="property" type="PropertyType" minOccurs="0" maxOccurs="unbounded"/>
  </xs:sequence>
  <xs:attribute name="id" type="xs:ID" use="optional"/>
  <xs:attribute name="target" type="xr:XPathExpression" use="required"/>
  <!-- TODO: not implemented yet
		<xs:attribute name="value" type="xr:XPathExpression" use="optional" />
		-->
  <xs:attribute name="type" type="xs:QName" use="optional"/>
  <xs:attribute name="min" type="xr:XPathExpression" use="optional"/>
  <xs:attribute name="max" type="xr:XPathExpression" use="optional"/>
  <xs:attribute name="minLength" type="xr:XPathExpression" use="optional"/>
  <xs:attribute name="maxLength" type="xr:XPathExpression" use="optional"/>
  <xs:attribute name="minOccurs" type="xr:XPathExpression" use="optional"/>
  <xs:attribute name="maxOccurs" type="xr:XPathExpression" use="optional"/>
  <!-- TODO: implement static minOccurs and maxOccurs
		<xs:attribute name="minOccurs" type="xs:nonNegativeInteger" use="optional" default="1" />
		<xs:attribute name="maxOccurs" type="xr:allNNI" use="optional" default="unbounded" />
		-->
  <xs:attribute name="regex" type="xr:XPathExpression" use="optional"/>
  <xs:attribute name="enabled" type="xs:boolean" use="optional" default="true"/>
  <xs:attribute name="errorMessage" type="xr:StringWithEmbededXPath" use="optional"/>
  <!-- TODO: not implemented yet
		<xs:attribute name="errorMessage.value" type="xr:StringWithEmbededXPath" use="optional" />
		-->
  <xs:attribute name="errorMessage.type" type="xr:StringWithEmbededXPath" use="optional"/>
  <xs:attribute name="errorMessage.min" type="xr:StringWithEmbededXPath" use="optional"/>
  <xs:attribute name="errorMessage.max" type="xr:StringWithEmbededXPath" use="optional"/>
  <xs:attribute name="errorMessage.minLength" type="xr:StringWithEmbededXPath" use="optional"/>
  <xs:attribute name="errorMessage.maxLength" type="xr:StringWithEmbededXPath" use="optional"/>
  <xs:attribute name="errorMessage.minOccurs" type="xr:StringWithEmbededXPath" use="optional"/>
  <xs:attribute name="errorMessage.maxOccurs" type="xr:StringWithEmbededXPath" use="optional"/>
  <xs:attribute name="errorMessage.regex" type="xr:StringWithEmbededXPath" use="optional"/>
  <xs:anyAttribute namespace="##other" processContents="lax"/>
</xs:complexType>