<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Error creating web form,when i select schema file in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/error-creating-web-form-when-i-select-schema-file/m-p/154599#M109040</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;As a further test, I've tried creating a web form using an invalid XSD (no element declarations, just a type declaration) in a standalone install of Alfresco 3.0.1 (I don't have a standalone install of Labs3c to test with). There is no stack trace given in the logs, but just a simple clean error shown in the front end stating that there is a missing element declaration. If I break an otherwise valid (containing an element) XSD (removing a closing tag for example), then I get a stack trace from the parsing exception as well as a UI error about missing elements.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To me, it looks like the error about missing elements is a red herring - the real problem is that Alfresco is unable to parse the XML file (despite it working fine in a standalone install of 2.1) and is crashing with an exception. The warning about missing elements is just because the UI is assuming that any errors at this point are due to missing elements, even though they're not.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've still no idea why it's failing, but I'm pretty certain at this point that it's not the XSD at fault, but some configuration issue within Alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sam.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Jan 2009 11:20:12 GMT</pubDate>
    <dc:creator>samuel_penn</dc:creator>
    <dc:date>2009-01-13T11:20:12Z</dc:date>
    <item>
      <title>Error creating web form,when i select schema file</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-creating-web-form-when-i-select-schema-file/m-p/154596#M109037</link>
      <description>I am using alfresco 2.1, when i create a web form and select an xsd (company-footer.xsd), error comes&lt;IMG id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;n top :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Please correct the errors below then click Finish.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * unable to parse company-footer.xsd: org.apache.xerces.dom.DOMXSImplementationSourceImplNext to root element labe</description>
      <pubDate>Mon, 10 Mar 2008 06:34:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-creating-web-form-when-i-select-schema-file/m-p/154596#M109037</guid>
      <dc:creator>bluffmaster007</dc:creator>
      <dc:date>2008-03-10T06:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: Error creating web form,when i select schema file</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-creating-web-form-when-i-select-schema-file/m-p/154597#M109038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It looks like your schema doesn't contain any root elements.&amp;nbsp; Can you post it here?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Peter&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2008 05:25:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-creating-web-form-when-i-select-schema-file/m-p/154597#M109038</guid>
      <dc:creator>pmonks</dc:creator>
      <dc:date>2008-04-09T05:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: Error creating web form,when i select schema file</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-creating-web-form-when-i-select-schema-file/m-p/154598#M109039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm seeing the same error in AlfrescoLabs 3c. I've tried creating a web form from an XSD that works fine in Alfresco 2.1, so I think it's something to do with the Alfresco configuration rather than the XSD definition.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My quick search of the forums showed up two people with this problem (including the thread I'm replying to). The other was using JBoss, and I'm installing Alfresco into a shared Tomcat, so I'm guessing that the issue is down to some complication in how WCM is installed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All I did was copy the bootstrap file into place, and stick studio.war into the webapps folder. I don't have the virtual server running yet, but I don't see that this should make a difference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can cut my XSD down to the following simple form:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;?xml version="1.0"?&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;xs:schema xmlns:xs="&lt;A href="http://www.w3.org/2001/XMLSchema" rel="nofollow noopener noreferrer"&gt;http://www.w3.org/2001/XMLSchema&lt;/A&gt;"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:alf="&lt;A href="http://www.alfresco.org" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org&lt;/A&gt;"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:p="&lt;A href="http://glendale.org.uk/alfresco/page" rel="nofollow noopener noreferrer"&gt;http://glendale.org.uk/alfresco/page&lt;/A&gt;"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; targetNamespace="&lt;A href="http://glendale.org.uk/alfresco/page" rel="nofollow noopener noreferrer"&gt;http://glendale.org.uk/alfresco/page&lt;/A&gt;"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; elementFormDefault="qualified"&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xs:element name="page"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xs:complexType&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xs:sequence&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xs:element name="header" type="xs:string"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xs:sequence&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xs:complexType&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xs:element&amp;gt;&lt;BR /&gt;&amp;lt;/xs:schema&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;And still get the error. The stack trace is the same as in 2.1 in the post above (class cast exception). Could it be a library inconsistency?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sam.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Jan 2009 14:43:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-creating-web-form-when-i-select-schema-file/m-p/154598#M109039</guid>
      <dc:creator>samuel_penn</dc:creator>
      <dc:date>2009-01-11T14:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: Error creating web form,when i select schema file</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-creating-web-form-when-i-select-schema-file/m-p/154599#M109040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;As a further test, I've tried creating a web form using an invalid XSD (no element declarations, just a type declaration) in a standalone install of Alfresco 3.0.1 (I don't have a standalone install of Labs3c to test with). There is no stack trace given in the logs, but just a simple clean error shown in the front end stating that there is a missing element declaration. If I break an otherwise valid (containing an element) XSD (removing a closing tag for example), then I get a stack trace from the parsing exception as well as a UI error about missing elements.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To me, it looks like the error about missing elements is a red herring - the real problem is that Alfresco is unable to parse the XML file (despite it working fine in a standalone install of 2.1) and is crashing with an exception. The warning about missing elements is just because the UI is assuming that any errors at this point are due to missing elements, even though they're not.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've still no idea why it's failing, but I'm pretty certain at this point that it's not the XSD at fault, but some configuration issue within Alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sam.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2009 11:20:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-creating-web-form-when-i-select-schema-file/m-p/154599#M109040</guid>
      <dc:creator>samuel_penn</dc:creator>
      <dc:date>2009-01-13T11:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: Error creating web form,when i select schema file</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-creating-web-form-when-i-select-schema-file/m-p/154600#M109041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've fixed the problem for me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In case anyone else has the same issue, I moved xercesImpl.jar out of common/endorsed, and replaced it with the more recent Alfresco version xercesImpl-2.8.0.jar from the war file (no rename necessary). Apparently it's a general problem with app servers, where different versions of the same class get picked up depending on what's being done.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My other apps seem to be working fine still.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sam.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2009 17:51:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-creating-web-form-when-i-select-schema-file/m-p/154600#M109041</guid>
      <dc:creator>samuel_penn</dc:creator>
      <dc:date>2009-01-13T17:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: Error creating web form,when i select schema file</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-creating-web-form-when-i-select-schema-file/m-p/154601#M109042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Samuel,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am facing same problem even after replacing the jar file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;what could be the root cause for this problem?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;could you please suggest me the solution if you have?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2009 08:29:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-creating-web-form-when-i-select-schema-file/m-p/154601#M109042</guid>
      <dc:creator>jayesh_prajapat</dc:creator>
      <dc:date>2009-03-11T08:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: Error creating web form,when i select schema file</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-creating-web-form-when-i-select-schema-file/m-p/154602#M109043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you got other copies of old jar files anywhere in Tomcat's classpath? I must admit that after I got this working, I gave up. AlfrescoLabs 3 seems to be completely broken as far as WCM is concerned, so I'm waiting for Labs 3.1 (assuming there will be one) before looking at this any more (it would be nice to move off 2.1 one day).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sam.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2009 09:51:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-creating-web-form-when-i-select-schema-file/m-p/154602#M109043</guid>
      <dc:creator>samuel_penn</dc:creator>
      <dc:date>2009-03-11T09:51:43Z</dc:date>
    </item>
  </channel>
</rss>

