fixing support for using xml namespaces within forms.

enabling using attributes within forms.



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3911 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Ariel Backenroth
2006-09-25 00:09:26 +00:00
parent ed741873e5
commit 66f93f07a3
6 changed files with 100 additions and 69 deletions

View File

@@ -0,0 +1,23 @@
<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:alf="http://www.alfresco.org/alf"
elementFormDefault="qualified"
targetNamespace="http://www.alfresco.org/alf">
<xs:complexType name="multi">
<xs:sequence>
<xs:element name="multi1" type="xs:string"/>
<xs:element name="multi2" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:element name="xml-namespaces-test">
<xs:complexType>
<xs:sequence>
<xs:element name="string_with_default" type="xs:string" default="default string value"/>
<xs:element name="string_no_default" type="xs:string"/>
<xs:element name="multi" type="alf:multi" minOccurs="2" maxOccurs="3"/>
</xs:sequence>
<xs:attribute name="string_attribute_with_default" type="xs:string" default="default string value"/>
<xs:attribute name="string_attribute_no_default" type="xs:string"/>
</xs:complexType>
</xs:element>
</xs:schema>