cancel
Showing results for 
Search instead for 
Did you mean: 

Included schema locations for Web Forms

richee
Champ in-the-making
Champ in-the-making
Hi,

I am trying to define schemas for some web forms. Many blocks of content on my site can be modularised and reused, so I would like to include smaller schemas in larger ones, using: -
<xs:include schemaLocation="…"/>
This will work provided my smaller schemas are located within the web app itself and not in the data dictionary.
I dont want to have my smaller schema definitions in the web app as I dont want to split locations and also dont want them mixed with published content. I would much rather have them placed within the data dictionary - possibly under a space called "components".

I have not managed to get this to work successfully although
http://wiki.alfresco.com/wiki/Forms_Developer_Guide#Included_templates
implies I can.

I have my data dictionary structure as follows: -

Web Forms
|
|> Home Page
|    |
|    |> home.xsd
|
|> Components
|    |
|    |> links.xsd


The file home.xsd includes the line

<xs:include id="links" schemaLocation="../Components/links.xsd" />


Can anyone tell me if this is possible and if so, what path to use in the schema location?

Thanks,

Rich
1 REPLY 1

arielb
Champ in-the-making
Champ in-the-making
included templates refers to rendering engine templates (xsl, ftl …) - not schemas.  please file a feature request, including schemas within the data dictionary is not a currently supported feature.