Files
alfresco-community-repo/source/test-resources/xforms/unit-tests/simple-test/group-appearance-test.xsd
Ariel Backenroth 4403c1d083 xforms dojo to mootools port.
- ported xforms javascript codebase to mootools.  mostly complete - a few dangling effects and dom manipulation functions still use dojo.  these should be removed at which point it will no longer be necessary to load dojo.js which should save a second or so on load time.  a few of the date widgets and slider still use dojo widgets.  this can probably stay as dojo can be loaded only if those widgets are used.
- performance tuning of xforms js codebase.  about %40 improvement in load time for large forms with lots of widgets.
- switching wizards into almost standards compliance mode so that things will lay out properly in IE.
- lots of layout cleanup and off by pixel issues, particularly for IE.
- putting in an uncompressed version of mootools which includes some libraries needed by xforms - particularly all native objects, Element.Event, Window.DomReady, XHR and Ajax.  at some point dojo effects should likely be replaced with those in mootools.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6903 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-10-02 20:34:22 +00:00

95 lines
4.2 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:simpleType name="one_char">
<xs:restriction base="xs:normalizedString">
<xs:length value="1"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="five_digits">
<xs:restriction base="xs:integer">
<xs:totalDigits value="5"/>
</xs:restriction>
</xs:simpleType>
<xs:complexType name="fields">
<xs:sequence>
<xs:element name="unbounded_string" type="xs:normalizedString"/>
<xs:element name="one_char" type="one_char"/>
<xs:element name="five_digits" type="five_digits"/>
</xs:sequence>
</xs:complexType>
<xs:element name="root_group">
<xs:complexType>
<xs:sequence>
<xs:element name="full_group" type="fields">
<xs:annotation><xs:appinfo><alf:appearance>full</alf:appearance></xs:appinfo></xs:annotation>
</xs:element>
<xs:element name="compact_group" type="fields">
<xs:annotation><xs:appinfo><alf:appearance>compact</alf:appearance></xs:appinfo></xs:annotation>
</xs:element>
<xs:element name="minimal_groups">
<xs:annotation><xs:appinfo><alf:appearance>full</alf:appearance></xs:appinfo></xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="minimal_group_one_greedy_two_fixed" type="fields">
<xs:annotation><xs:appinfo><alf:appearance>minimal</alf:appearance></xs:appinfo></xs:annotation>
</xs:element>
<xs:element name="minimal_group_two_fixed">
<xs:annotation><xs:appinfo><alf:appearance>minimal</alf:appearance></xs:appinfo></xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="fixed_1" type="five_digits"/>
<xs:element name="fixed_2" type="five_digits"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="minimal_group_three_fixed">
<xs:annotation><xs:appinfo><alf:appearance>minimal</alf:appearance></xs:appinfo></xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="fixed_1" type="five_digits"/>
<xs:element name="fixed_2" type="five_digits"/>
<xs:element name="fixed_3" type="five_digits"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="minimal_group_one_greedy">
<xs:annotation><xs:appinfo><alf:appearance>minimal</alf:appearance></xs:appinfo></xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="greedy" type="xs:normalizedString"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="minimal_group_fixed_greedy_fixed">
<xs:annotation><xs:appinfo><alf:appearance>minimal</alf:appearance></xs:appinfo></xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="fixed_1" type="five_digits"/>
<xs:element name="greedy" type="xs:normalizedString"/>
<xs:element name="fixed_2" type="five_digits"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="minimal_group_greedy_fixed_greedy">
<xs:annotation><xs:appinfo><alf:appearance>minimal</alf:appearance></xs:appinfo></xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="greedy_1" type="xs:normalizedString"/>
<xs:element name="fixed_1" type="five_digits"/>
<xs:element name="greedy_2" type="xs:normalizedString"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>