Files
alfresco-community-repo/source/test-resources/xforms/unit-tests/interesting-schema-test/xml-namespaces-test.xsd
Ariel Backenroth b534839220 - fix for constraints for repeats. looks like a side effect of chiba upgrade. rather than constrain based on count(.) need to use count(../<nodeset>) since it seems like they are evaluating the constraints on individual items rather than the bind nodeset.
- fix for handling of fractionDigits for range controls
- automatically add namespace declarations for freemarker output path pattern expressions
- better error handling/reporting for output path patterns
- pass around formInstanceDataName for use in the label of the viewroot
- regenerate renditions on update
- updated unit tests
- use xf:minOccurs and xf:maxOccurs for repeat bindings rather than alfresco:minimum and alfresco:maximum (hadn't seen that it was part of the spec - not supported by chiba - but doesn't interfere)
- fix for attributes with fixed values

bugs fixed:
http://issues.alfresco.com/browse/WCM-317
http://issues.alfresco.com/browse/WCM-302
http://issues.alfresco.com/browse/WCM-333
http://issues.alfresco.com/browse/WCM-270
http://issues.alfresco.com/browse/WCM-312
http://issues.alfresco.com/browse/WCM-305
http://issues.alfresco.com/browse/WCM-298

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5141 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-02-14 19:14:36 +00:00

24 lines
1.0 KiB
XML

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