AnsweredAssumed Answered

Importing XSD in web forms

Question asked by unmeshjoshi on Sep 5, 2009
Hi,

We are trying to include a XSD file from the home directory to alfresco template. We have shared.xsd in alfresco home and we are importing it in other xsds for webforms.
If we import XSD as,

<xs:import schemaLocation="/shared.xsd" namespace="http://www.myhome.com'/>

Alfresco somehow replaces it as following.

  <xs:import namespace="http://www.myhome.com" schemaLocation="http://user-name.company-home.www--sandbox.127-0-0-1.ip.alfrescodemo.net:8180/shared.xsd'/>

And we can not create the content, because it can not resolve elements in shared.xsd. Anyone knows how to import XSDs in webforms?

Thanks,
Unmesh

Outcomes