I am trying to include a webscript in my webform as suggested here: http://wiki.alfresco.com/wiki/Forms_Authoring_Guide#Using_dynamic_types_in_schemasBut keep getting this error. I have deduced that the web form is finding my web script as it gives a different error if I change to an incorrect path in the include but have no idea what this is supposed to mean:org.alfresco.web.forms.FormProcessor$ProcessingException: org.alfresco.web.forms.xforms.FormBuilderException: errors parsing schema: at line 23 column 10: A DOCTYPE is not allowed in content. at line -1 column -1: A DOCTYPE is not allowed in content.
For referenceHelloUser.get.desc.xml<webscript>
<shortname>Hello User Test</shortname>
<description>My First Webscript - Test to say hello user where user is provided</description>
<url format="xml" template="/schema/hello"/>
<format default="xml">extension</format>
<authentication>user</authentication>
<transaction>required</transaction>
</webscript>
HelloUser.get.xml.ftl and HelloUser.get.xml.ftl<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:po="http://solutions.xx-xxxxxx.com/alfresco/po"
xmlns:alf="http://www.alfresco.org"
targetNamespace="http://solutions.xx-xxxxxx.com/alfresco/po"
elementFormDefault="qualified">
<xs:complexType>
<xs:sequence>
<xs:element name="short_title" type="xs:normalizedString">
<xs:annotation>
<xs:appinfo>
<alf:label>Hello (It's a test i'n'it)</alf:label>
<alf:alert>Hello</alf:alert>
</xs:appinfo>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:schema>
hello.xsd<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:po="http://solutions.xx-xxxxxx.com/alfresco/po"
xmlns:alf="http://www.alfresco.org"
targetNamespace="http://solutions.xx-xxxxxx.com/alfresco/po"
elementFormDefault="qualified">
<!– Imports –>
<xs:include schemaLocation="webscript://rc/schema/hello?storeid={storeid}" />
<xs:element name="portal">
<xs:complexType>
<xs:sequence>
<xs:element name="title" type="xs:normalizedString">
<xs:annotation>
<xs:appinfo>
<alf:label>Title</alf:label>
<alf:alert>Title</alf:alert>
</xs:appinfo>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>Help, if any, is much appreciated. Even a working example of including a webscript in a webform would be nice.[Running Alfresco Labs 3 Preview 2 on a linux server]