K 10
svn:author
V 9
dbosschae
K 8
svn:date
V 27
2007-10-15T13:42:32.000000Z
K 7
svn:log
V 1111
Enhancement to the Policy Editor to support Sequence of Any content of policies.

This can be used to allow any type of embedded XML as content for policies. A policy that needs this behaviour needs to be defined as follows:

<xs:element name="xxx">
  <xs:complexType>
    <xs:sequence>
      <xs:any/>
    </xs:sequence>
  </xs:complexType>
</xs:element>

This will produce a multi-line edit field in the Policy Editor where the embedded XML can be entered. The embedded XML will end up verbatim in the policy.

You can also add annotations for displaynames, tooltips and help documentation to the any field in the usual way:
<xs:element name="any_policy">
  <xs:complexType>
    <xs:sequence>
      <xs:any>
        <xs:annotation>
          <xs:documentation>Please enter some embedded XML.</xs:documentation>
          <xs:appinfo>
            <xef:displayName>Any Embedded Content</xef:displayName>
            <xef:docShort>Enter Embedded XML</xef:docShort>
          </xs:appinfo>
        </xs:annotation>
      </xs:any>
    </xs:sequence>
  </xs:complexType>
</xs:element>


4 New unit tests included.

END
