AnsweredAssumed Answered

Webforms: <xs:include> support in WCM

Question asked by alfresco2007 on May 19, 2007
I defined a set of complex data types in one .xsd file and use <xs:include> to add them to another .xsd file. Here is the schema snippet of my schema file.

<xs:schema xmlns:xs="" xmlns:cm="" targetNamespace="" elementFormDefault="qualified" attributeFormDefault="unqualified">
   <xs:include schemaLocation="complex_datatype_library.xsd"/>

However, when i try to create a web content with that xform. I got this error

org.alfresco.web.forms.FormProcessor$ProcessingException: org.alfresco.web.forms.xforms.FormBuilderException: error parsing schema: at line 30 column 52: src-resolve: Cannot resolve the name 'cm:CM_Footer' to a(n) 'type definition' component.