Files
alfresco-community-repo/source/test-resources/xforms/unit-tests/interesting-schema-test/element-ref-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

34 lines
1.1 KiB
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:element name="referenced_element">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:base64Binary">
<xs:attribute name="referenced_element_attribute" type="xs:normalizedString" use="required"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:complexType name="complex_type_1">
<xs:sequence>
<xs:element name="string_in_ct" type="xs:normalizedString"/>
<xs:element ref="mynsprefix:referenced_element"/>
</xs:sequence>
</xs:complexType>
<xs:element name="element-ref-test">
<xs:complexType>
<xs:sequence>
<xs:element name="string" type="xs:normalizedString"/>
<xs:element name="complex_type_1" type="mynsprefix:complex_type_1"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>