Files
alfresco-community-repo/source/test-resources/xforms/unit-tests/multi-form-schema/multi-form-schema.xsd
Ariel Backenroth ea6c85be54 - beginning to respect fixed values from xsd
- fixing bug with default values for select widgets
- some more unit tests for repeating items, and xsd attributes
- parsing xsd when creating the form and presenting a combobox with element names that are possible root tag names
- ensuring that there can't be multiple output methods that output the same extension
- moving createxmlcontenttype to createformwizard in wcm where it belongs.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4112 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-15 22:40:49 +00:00

32 lines
957 B
XML

<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified">
<xs:complexType name="complex-type" >
<xs:sequence>
<xs:element name="string" type="xs:string"/>
<xs:element name="string2" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:element name="form-1">
<xs:complexType>
<xs:sequence>
<xs:element name="form_1_string" type="xs:string" default="form1"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="form-2">
<xs:complexType>
<xs:sequence>
<xs:element name="form_2_string" type="xs:string" default="form2"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="form-3">
<xs:complexType>
<xs:sequence>
<xs:element name="form_3_complex_type" type="complex-type" default="form2"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>