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,
Looking at the alfresco source code, I found following // It's a web project asset include / import final String baseURI = (uri.charAt(0) == '/' ? AVMUtil.getPreviewURI(AVMUtil.getStoreName(cwdAvmPath)) : AVMUtil.getPreviewURI(cwdAvmPath));
finalURI = baseURI + uri;
So alfresco replaces inline callouts with preview url.
I tried previewing the shared XSD file from alfresco web UI. But I am unable to. When I click on "preview" icon, it opens up browser with following url