As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
<xs:include schemaLocation="webscript://path_to_script"/>
org.alfresco.web.forms.FormProcessor$ProcessingException: org.alfresco.web.forms.xforms.FormBuilderException: error parsing schema: at line 117 column 85: src-resolve: Cannot resolve the name 'mt:lens-category-list' to a(n) 'type definition' component.
<xs:schema targetNamespace="http://www.alfresco.org/alfresco/MT" xmlns:mt="http://www.alfresco.org/alfresco/MT" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:alf="http://www.alfresco.org" elementFormDefault="qualified"> //from webscript ${element} value is replaced with lens // and we are iterating through list of values to populate enumeration <xs:simpleType name="${element}-category-list"> <xs:restriction base="xs:normalizedString"> <#if values??> <#list values as value> <xs:enumeration value="${value.id}"> <xs:annotation> <xs:appinfo> <alf:label>${value.label}</alf:label> </xs:appinfo> </xs:annotation> </xs:enumeration> </#list> </#if> </xs:restriction> </xs:simpleType> <xs:simpleType name="${element}-list"> <xs:list itemType="mt:${element}-category-list"/> </xs:simpleType> </xs:schema>
… <xs:element name="Lens" type="mt:lens-category-list" minOccurs="0" maxOccurs="1"> <xs:annotation> <xs:appinfo> <alf:appearance>minimal</alf:appearance> <alf:label>Lens ID</alf:label> </xs:appinfo> </xs:annotation> </xs:element> …