Files
alfresco-community-repo/source/test-resources/xforms/unit-tests/simple-test/textarea-test.xsd
Derek Hulley 10236f165a Merged V2.1 to HEAD
6293: WCM fixes by Ariel (no details)
   6294: Fogotten file for above


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6717 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-09-10 12:26:25 +00:00

50 lines
1.9 KiB
XML

<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:alf="http://www.alfresco.org"
elementFormDefault="qualified">
<xs:element name="textarea-test">
<xs:complexType>
<xs:sequence>
<xs:element name="plain_text" type="xs:string" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:appinfo>
<alf:appearance>minimal</alf:appearance>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="rich_text_anyType" type="xs:anyType" minOccurs="0" maxOccurs="1"/>
<xs:element name="rich_text_stringType" type="xs:string" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:appinfo>
<alf:appearance>full</alf:appearance>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="rich_text_stringType_custom" type="xs:string" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:appinfo>
<alf:appearance>custom</alf:appearance>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="repeating-textarea" type="xs:anyType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="plain_text_attribute" type="xs:string" use="required">
<xs:annotation>
<xs:appinfo>
<alf:appearance>minimal</alf:appearance>
</xs:appinfo>
</xs:annotation>
</xs:attribute>
<xs:attribute name="rich_text_stringType_attribute" type="xs:string" use="optional">
<xs:annotation>
<xs:appinfo>
<alf:appearance>full</alf:appearance>
</xs:appinfo>
</xs:annotation>
</xs:attribute>
<!-- xs:attribute name="rich_text_anyType_attribute" type="xs:anyType" use="required"/ -->
</xs:complexType>
</xs:element>
</xs:schema>