I am trying to include Common XSD into other XSDs. but i am getting below exception every time :
org.alfresco.web.forms.FormProcessor$ProcessingException: org.alfresco.web.forms.xforms.FormBuilderException: error parsing schema: at line 19 column 64: src-resolve: Cannot resolve the name 'otherroottype' to a(n) 'type definition' component.
Check for the path of included xsd. As per your xsd defintion the currently included xsd (demo_include.xsd) should be placed under the same folder where demo.xsd resides.
Have you tried like this? <xs:include schemaLocation="webscript://api/path/content/workspace/SpacesStore/Data Dictionary/Web Forms/comun/comun.xsd?ticket=${ticket}"/> (alfresco 3.3 version)