Files
alfresco-community-repo/source/test-resources/xforms/unit-tests/simple-test/upload-simple-test.xsd
Glen Johnson ce0f65b6d6 Merged V2.2 to HEAD
7388: New WCM File Picker features - 'folder' and 'saved-search' restrictions


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@8366 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-02-24 23:23:55 +00:00

47 lines
2.4 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="upload-simple">
<xs:complexType>
<xs:sequence>
<xs:element name="general_tests">
<xs:complexType>
<xs:sequence>
<xs:element name="file_from_element" type="xs:anyURI" minOccurs="1" maxOccurs="1"/>
<xs:element name="file_from_element_with_default" type="xs:anyURI" default="/index.jsp"/>
</xs:sequence>
<xs:attribute name="file_from_attribute" type="xs:anyURI" use="required"/>
<xs:attribute name="file_from_attribute_fixed" type="xs:anyURI" use="required" fixed="/index.jsp"/>
</xs:complexType>
</xs:element>
<xs:element name="appearance_tests">
<xs:complexType>
<xs:sequence>
<xs:element name="default_file_picker" type="xs:anyURI"/>
<xs:element name="image_file_picker" type="xs:anyURI">
<xs:annotation><xs:appinfo><alf:appearance>image_file_picker</alf:appearance></xs:appinfo></xs:annotation>
</xs:element>
<xs:element name="folder_restricted_file_picker" type="xs:anyURI">
<xs:annotation><xs:appinfo><alf:appearance>folder_restricted_file_picker</alf:appearance></xs:appinfo></xs:annotation>
</xs:element>
<xs:element name="search_restricted_file_picker" type="xs:anyURI">
<xs:annotation><xs:appinfo><alf:appearance>search_restricted_file_picker</alf:appearance></xs:appinfo></xs:annotation>
</xs:element>
<xs:element name="html_file_picker" type="xs:anyURI">
<xs:annotation><xs:appinfo><alf:appearance>html_file_picker</alf:appearance></xs:appinfo></xs:annotation>
</xs:element>
<xs:element name="folder_picker" type="xs:anyURI">
<xs:annotation><xs:appinfo><alf:appearance>folder_picker</alf:appearance></xs:appinfo></xs:annotation>
</xs:element>
<xs:element name="file_picker" type="xs:anyURI">
<xs:annotation><xs:appinfo><alf:appearance>file_picker</alf:appearance></xs:appinfo></xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>