Files
alfresco-community-repo/source/test-resources/xforms/unit-tests/simple-test/inheritence-test.xsd
Ariel Backenroth f6bf4acd5d localizing xforms codebase. adding javascript hash for string used from js.
multibyte fixes

appearance hints for textareas (full = rich text editor, minimal = plain text)

using xs:string for xforms:textarea
using xs:normalizedString for xforms:input

IMPORTANT:  you will need to recreate all forms in the web project after i check this in.  and for any of your own forms, you need to use xs:normalizedString as the type for textfields.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5028 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-02-03 00:01:08 +00:00

46 lines
1.7 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:complexType name="complex-type">
<xs:sequence>
<xs:element name="fixed_string_element" type="xs:normalizedString" minOccurs="1" maxOccurs="1" fixed="fixed value"/>
</xs:sequence>
<xs:attribute name="required_string_attribute" type="xs:normalizedString" use="required"/>
</xs:complexType>
<xs:complexType name="inheritence-type">
<xs:complexContent>
<xs:extension base="complex-type">
<xs:sequence>
<xs:element name="additional_required_string_element" type="xs:normalizedString" minOccurs="1" maxOccurs="1"/>
</xs:sequence>
<xs:attribute name="additional_fixed_string_attribute" type="xs:normalizedString" use="required" fixed="additional fixed value"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<!--
<xs:complexType name="extended-inheritence-type">
<xs:complexContent>
<xs:extension base="inheritence-type">
<xs:sequence>
<xs:element name="another_required_integer_element" type="xs:integer" use="required"/>
</xs:sequence>
<xs:attribute name="another_fixed_integer_attribute" type="xs:integer" use="required" fixed="1413"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
-->
<xs:element name="inheritence-test">
<xs:complexType>
<xs:sequence>
<xs:element name="complex_type" type="complex-type" minOccurs="1" maxOccurs="1"/>
<xs:element name="inherited_type" type="inheritence-type" minOccurs="1" maxOccurs="1"/>
<!-- xs:element name="extended_inherited_type" type="extended-inheritence-type" minOccurs="1" maxOccurs="1"/ -->
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>