mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
include fractionDigits in xf:range components to distinguish integer and real number sliders fix for schema complex types with simple content (treat them as simpletypes). fix for how namespaces are handled by the form generator. it was surprisingly broken... git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4930 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
30 lines
966 B
XML
30 lines
966 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
xmlns:mynsprefix="http://mine.org/mynsuri"
|
|
elementFormDefault="qualified"
|
|
attributeFormDefault="qualified"
|
|
targetNamespace="http://mine.org/mynsuri">
|
|
|
|
<xs:simpleType name="yes_or_no">
|
|
<xs:restriction base="xs:string">
|
|
<xs:enumeration value="yes"/>
|
|
<xs:enumeration value="no"/>
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
|
|
<xs:element name="element_1">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element name="yes_no_using_extension" minOccurs="0">
|
|
<xs:complexType>
|
|
<xs:simpleContent>
|
|
<xs:extension base="mynsprefix:yes_or_no"/>
|
|
</xs:simpleContent>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
<xs:element name="yes_no_type" minOccurs="0" type="mynsprefix:yes_or_no"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
</xs:schema>
|