<?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 Bootstrapping the xml file issue in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/bootstrapping-the-xml-file-issue/m-p/13149#M5802</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I am having a content model and workflow model xml in bootstrap-model.xml by default. And I created a content model inside of content-model.xml file. Now I added a new value of another one xml file in bootstrap-model xml namely as exampleModel.xml. I have created a file called exampleModel.xml in a path : alfresco/module/alf-repo-amp/model/exampleModel.xml.&lt;/P&gt;&lt;P&gt;But it throws error and its saying namespace defined in exampleModel.xml is already defined here.I have given a unique namespace for that,but still its showing a same error. Please see the below codings related to this issue and anyone can help me to know why its not taking. Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bootstrap-context.xml :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version='1.0' encoding='UTF-8'?&amp;gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;beans xmlns="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.springframework.org/schema/beans" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.springframework.org/schema/beans&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; xmlns:xsi="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; xsi:schemaLocation="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.springframework.org/schema/beans" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.springframework.org/schema/beans&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.springframework.org/schema/beans/spring-beans-2.0.xsd" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.springframework.org/schema/beans/spring-beans-2.0.xsd&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;!-- The bootstrap-context.xml file is used for patch definitions, importers, &lt;BR /&gt; workflow, and loading custom content models. --&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &amp;lt;!-- Registration of new models --&amp;gt;&lt;BR /&gt; &amp;lt;bean id="alfmodule-repo-amp.dictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap"&amp;gt;&lt;BR /&gt; &amp;lt;property name="models"&amp;gt;&lt;BR /&gt; &amp;lt;list&amp;gt;&lt;BR /&gt; &amp;lt;value&amp;gt;alfresco/module/${project.artifactId}/model/content-model.xml&amp;lt;/value&amp;gt;&lt;BR /&gt; &amp;lt;value&amp;gt;alfresco/module/${project.artifactId}/model/workflow-model.xml&amp;lt;/value&amp;gt;&lt;BR /&gt; &amp;lt;value&amp;gt;alfresco/module/${project.artifactId}/model/exampleModel.xml&amp;lt;/value&amp;gt; &lt;BR /&gt; &amp;lt;!-- &amp;lt;value&amp;gt;alfresco/extension/templates/webscripts/slingshot/search/search-config.xml&amp;lt;/value&amp;gt; --&amp;gt;&lt;BR /&gt; &amp;lt;/list&amp;gt;&lt;BR /&gt; &amp;lt;/property&amp;gt;&lt;BR /&gt; &amp;lt;/bean&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/beans&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;exampleModel.xml&amp;nbsp; :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;!-- Definition of new Model --&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;!-- The important part here is the name - Note: the use of the myc: namespace&lt;BR /&gt; which is defined further on in the document --&amp;gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;model name="myc:mycnewmodel" xmlns="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.alfresco.org/model/dictionary/1.0" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.alfresco.org/model/dictionary/1.0&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;!-- Optional meta-data about the model --&amp;gt; &lt;BR /&gt; &amp;lt;description&amp;gt;Example custom Model&amp;lt;/description&amp;gt;&lt;BR /&gt; &amp;lt;author&amp;gt;&amp;lt;/author&amp;gt;&lt;BR /&gt; &amp;lt;version&amp;gt;1.0&amp;lt;/version&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;!-- Imports are required to allow references to definitions in other models --&amp;gt; &lt;BR /&gt; &amp;lt;imports&amp;gt;&lt;BR /&gt; &amp;lt;!-- Import Alfresco Dictionary Definitions --&amp;gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;import uri="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.alfresco.org/model/dictionary/1.0" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.alfresco.org/model/dictionary/1.0&lt;/A&gt;&lt;SPAN&gt;" prefix="d"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt; &amp;lt;!-- Import Alfresco Content Domain Model Definitions --&amp;gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;import uri="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.alfresco.org/model/content/1.0" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.alfresco.org/model/content/1.0&lt;/A&gt;&lt;SPAN&gt;" prefix="cm"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt; &amp;lt;/imports&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;!-- Introduction of new namespaces defined by this model --&amp;gt;&lt;BR /&gt; &amp;lt;!-- NOTE: The following namespace myc.new.model should be changed to reflect your own namespace --&amp;gt;&lt;BR /&gt; &amp;lt;namespaces&amp;gt;&lt;BR /&gt; &amp;lt;namespace uri="my.model.search.content" prefix="myc"/&amp;gt;&lt;BR /&gt; &amp;lt;/namespaces&amp;gt;&lt;BR /&gt; &lt;BR /&gt; &amp;lt;types&amp;gt;&lt;BR /&gt; &lt;BR /&gt; &amp;lt;!-- Definition of new Content Type: Standard Operating Procedure --&amp;gt;&lt;BR /&gt; &amp;lt;type name="myc:sop"&amp;gt;&lt;BR /&gt; &amp;lt;title&amp;gt;Standard Operating Procedure&amp;lt;/title&amp;gt;&lt;BR /&gt; &amp;lt;parent&amp;gt;cm:content&amp;lt;/parent&amp;gt;&lt;BR /&gt; &amp;lt;properties&amp;gt;&lt;BR /&gt; &amp;lt;property name="myc&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ublishedDate"&amp;gt;&lt;BR /&gt; &amp;lt;type&amp;gt;d:datetime&amp;lt;/type&amp;gt;&lt;BR /&gt; &amp;lt;/property&amp;gt;&lt;BR /&gt; &amp;lt;property name="myc:authorisedBy"&amp;gt;&lt;BR /&gt; &amp;lt;type&amp;gt;d:text&amp;lt;/type&amp;gt;&lt;BR /&gt; &amp;lt;/property&amp;gt;&lt;BR /&gt; &amp;lt;/properties&amp;gt;&lt;BR /&gt; &amp;lt;associations&amp;gt;&lt;BR /&gt; &amp;lt;association name="myc:signOff"&amp;gt;&lt;BR /&gt; &amp;lt;source&amp;gt;&lt;BR /&gt; &amp;lt;mandatory&amp;gt;false&amp;lt;/mandatory&amp;gt;&lt;BR /&gt; &amp;lt;many&amp;gt;true&amp;lt;/many&amp;gt;&lt;BR /&gt; &amp;lt;/source&amp;gt;&lt;BR /&gt; &amp;lt;target&amp;gt;&lt;BR /&gt; &amp;lt;class&amp;gt;cm:content&amp;lt;/class&amp;gt;&lt;BR /&gt; &amp;lt;mandatory&amp;gt;false&amp;lt;/mandatory&amp;gt;&lt;BR /&gt; &amp;lt;many&amp;gt;false&amp;lt;/many&amp;gt;&lt;BR /&gt; &amp;lt;/target&amp;gt;&lt;BR /&gt; &amp;lt;/association&amp;gt;&lt;BR /&gt; &amp;lt;child-association name="myc&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;rocessSteps"&amp;gt;&lt;BR /&gt; &amp;lt;source&amp;gt;&lt;BR /&gt; &amp;lt;mandatory&amp;gt;false&amp;lt;/mandatory&amp;gt;&lt;BR /&gt; &amp;lt;many&amp;gt;true&amp;lt;/many&amp;gt;&lt;BR /&gt; &amp;lt;/source&amp;gt;&lt;BR /&gt; &amp;lt;target&amp;gt;&lt;BR /&gt; &amp;lt;class&amp;gt;cm:content&amp;lt;/class&amp;gt;&lt;BR /&gt; &amp;lt;mandatory&amp;gt;false&amp;lt;/mandatory&amp;gt;&lt;BR /&gt; &amp;lt;many&amp;gt;true&amp;lt;/many&amp;gt;&lt;BR /&gt; &amp;lt;/target&amp;gt;&lt;BR /&gt; &amp;lt;/child-association&amp;gt; &lt;BR /&gt; &amp;lt;/associations&amp;gt;&lt;BR /&gt; &amp;lt;/type&amp;gt;&lt;BR /&gt; &lt;BR /&gt; &amp;lt;type name="myc:tradeLicense"&amp;gt;&lt;BR /&gt; &amp;lt;title&amp;gt;Trade License&amp;lt;/title&amp;gt;&lt;BR /&gt; &amp;lt;parent&amp;gt;myc:salesCustomerCare&amp;lt;/parent&amp;gt;&lt;BR /&gt; &amp;lt;properties&amp;gt;&lt;BR /&gt; &amp;lt;property name="myc:licenseNumber"&amp;gt;&lt;BR /&gt; &amp;lt;type&amp;gt;d:text&amp;lt;/type&amp;gt;&lt;BR /&gt; &amp;lt;mandatory&amp;gt;true&amp;lt;/mandatory&amp;gt;&lt;BR /&gt; &amp;lt;/property&amp;gt;&lt;BR /&gt; &amp;lt;property name="myc:companyName"&amp;gt;&lt;BR /&gt; &amp;lt;type&amp;gt;d:text&amp;lt;/type&amp;gt;&lt;BR /&gt; &amp;lt;mandatory&amp;gt;true&amp;lt;/mandatory&amp;gt;&lt;BR /&gt; &amp;lt;index enabled="true"&amp;gt;&lt;BR /&gt; &amp;lt;tokenised&amp;gt;TRUE&amp;lt;/tokenised&amp;gt;&lt;BR /&gt; &amp;lt;facetable&amp;gt;false&amp;lt;/facetable&amp;gt;&lt;BR /&gt; &amp;lt;/index&amp;gt;&lt;BR /&gt; &amp;lt;/property&amp;gt;&lt;BR /&gt; &amp;lt;property name="myc:legalType"&amp;gt;&lt;BR /&gt; &amp;lt;type&amp;gt;d:text&amp;lt;/type&amp;gt;&lt;BR /&gt; &amp;lt;mandatory&amp;gt;false&amp;lt;/mandatory&amp;gt;&lt;BR /&gt; &amp;lt;/property&amp;gt;&lt;BR /&gt; &amp;lt;property name="myc:expiryDate"&amp;gt;&lt;BR /&gt; &amp;lt;type&amp;gt;d:date&amp;lt;/type&amp;gt;&lt;BR /&gt; &amp;lt;mandatory&amp;gt;true&amp;lt;/mandatory&amp;gt;&lt;BR /&gt; &amp;lt;/property&amp;gt;&lt;BR /&gt; &amp;lt;property name="myc:issueDate"&amp;gt;&lt;BR /&gt; &amp;lt;type&amp;gt;d:date&amp;lt;/type&amp;gt;&lt;BR /&gt; &amp;lt;mandatory&amp;gt;false&amp;lt;/mandatory&amp;gt;&lt;BR /&gt; &amp;lt;/property&amp;gt;&lt;BR /&gt; &amp;lt;/properties&amp;gt;&lt;BR /&gt; &amp;lt;/type&amp;gt;&lt;BR /&gt; &lt;BR /&gt; &amp;lt;/types&amp;gt;&lt;BR /&gt; &lt;BR /&gt; &amp;lt;aspects&amp;gt;&lt;BR /&gt; &lt;BR /&gt; &amp;lt;!-- Definition of new Content Aspect: Image Classification --&amp;gt;&lt;BR /&gt; &amp;lt;aspect name="myc:imageClassification"&amp;gt;&lt;BR /&gt; &amp;lt;title&amp;gt;Image Classfication&amp;lt;/title&amp;gt;&lt;BR /&gt; &amp;lt;properties&amp;gt;&lt;BR /&gt; &amp;lt;property name="myc:width"&amp;gt;&lt;BR /&gt; &amp;lt;type&amp;gt;d:int&amp;lt;/type&amp;gt;&lt;BR /&gt; &amp;lt;/property&amp;gt;&lt;BR /&gt; &amp;lt;property name="myc:height"&amp;gt;&lt;BR /&gt; &amp;lt;type&amp;gt;d:int&amp;lt;/type&amp;gt;&lt;BR /&gt; &amp;lt;/property&amp;gt;&lt;BR /&gt; &amp;lt;property name="myc:resolution"&amp;gt;&lt;BR /&gt; &amp;lt;type&amp;gt;d:int&amp;lt;/type&amp;gt;&lt;BR /&gt; &amp;lt;/property&amp;gt;&lt;BR /&gt; &amp;lt;/properties&amp;gt;&lt;BR /&gt; &amp;lt;/aspect&amp;gt;&lt;BR /&gt; &lt;BR /&gt; &amp;lt;/aspects&amp;gt;&lt;BR /&gt; &lt;BR /&gt;&amp;lt;/model&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Nov 2017 07:18:35 GMT</pubDate>
    <dc:creator>yuva</dc:creator>
    <dc:date>2017-11-01T07:18:35Z</dc:date>
    <item>
      <title>Bootstrapping the xml file issue</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/bootstrapping-the-xml-file-issue/m-p/13149#M5802</link>
      <description>HiI am having a content model and workflow model xml in bootstrap-model.xml by default. And I created a content model inside of content-model.xml file. Now I added a new value of another one xml file in bootstrap-model xml namely as exampleModel.xml. I have created a file called exampleModel.xml in</description>
      <pubDate>Wed, 01 Nov 2017 07:18:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/bootstrapping-the-xml-file-issue/m-p/13149#M5802</guid>
      <dc:creator>yuva</dc:creator>
      <dc:date>2017-11-01T07:18:35Z</dc:date>
    </item>
    <item>
      <title>Re: Bootstrapping the xml file issue</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/bootstrapping-the-xml-file-issue/m-p/13150#M5803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please, share the full log file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Nov 2017 13:41:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/bootstrapping-the-xml-file-issue/m-p/13150#M5803</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2017-11-01T13:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: Bootstrapping the xml file issue</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/bootstrapping-the-xml-file-issue/m-p/13151#M5804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;You defined this namespace in exampleModel.xml. What is the namespace you defined in content-model.xml?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&amp;lt;namespaces&amp;gt;&lt;/SPAN&gt;&lt;BR style="color: #727174; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&amp;lt;namespace uri="my.model.search.content" prefix="myc"/&amp;gt;&lt;/SPAN&gt;&lt;BR style="color: #727174; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&amp;lt;/namespaces&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Nov 2017 13:33:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/bootstrapping-the-xml-file-issue/m-p/13151#M5804</guid>
      <dc:creator>zhihailiu</dc:creator>
      <dc:date>2017-11-02T13:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: Bootstrapping the xml file issue</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/bootstrapping-the-xml-file-issue/m-p/13152#M5805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;content-model namespace is&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;namespaces&amp;gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;namespace uri="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.mycompany.com/model/content/1.0" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.mycompany.com/model/content/1.0&lt;/A&gt;&lt;SPAN&gt;" prefix="my"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt; &amp;lt;/namespaces&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Nov 2017 05:24:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/bootstrapping-the-xml-file-issue/m-p/13152#M5805</guid>
      <dc:creator>yuva</dc:creator>
      <dc:date>2017-11-04T05:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: Bootstrapping the xml file issue</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/bootstrapping-the-xml-file-issue/m-p/13153#M5806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Haven't you, by mistake, deployed the same content model in more than one place, like, using an AMP, a JAR or even directly inside the extension folder?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Nov 2017 18:35:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/bootstrapping-the-xml-file-issue/m-p/13153#M5806</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2017-11-05T18:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: Bootstrapping the xml file issue</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/bootstrapping-the-xml-file-issue/m-p/13154#M5807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are we shouldn't use the same type in different places or different content model files?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2017 04:40:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/bootstrapping-the-xml-file-issue/m-p/13154#M5807</guid>
      <dc:creator>yuva</dc:creator>
      <dc:date>2017-11-06T04:40:29Z</dc:date>
    </item>
    <item>
      <title>Re: Bootstrapping the xml file issue</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/bootstrapping-the-xml-file-issue/m-p/13155#M5808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Content-Type should be unique across the content model. You can use the inheritance if you want to extend the behavior.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2017 11:17:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/bootstrapping-the-xml-file-issue/m-p/13155#M5808</guid>
      <dc:creator>muralidharand</dc:creator>
      <dc:date>2017-11-06T11:17:59Z</dc:date>
    </item>
  </channel>
</rss>

