<?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: Custom model: &amp;quot;name&amp;quot; and &amp;quot;namespace&amp;quot; restrictions. Config Properties: documentation need in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/custom-model-quot-name-quot-and-quot-namespace-quot-restrictions/m-p/288094#M241224</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your reply. The suggested classed were helpful. &lt;/P&gt;&lt;P&gt;As far as the name, i meant it &lt;EM&gt;with &lt;/EM&gt;the&lt;EM&gt; &lt;/EM&gt;use of a prefix, e.g. &lt;SPAN&gt;pr:contentModel&lt;/SPAN&gt; did not work, wheres &lt;SPAN&gt;pr:myNameModel worked. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Nov 2016 13:14:01 GMT</pubDate>
    <dc:creator>mtsiak</dc:creator>
    <dc:date>2016-11-18T13:14:01Z</dc:date>
    <item>
      <title>Custom model: "name" and "namespace" restrictions. Config Properties: documentation need</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-model-quot-name-quot-and-quot-namespace-quot-restrictions/m-p/288092#M241222</link>
      <description>We have recently created a custom model in alfresco: downloaded the 2.2.1 archetype and edited content-model.xml.It took as some time to discover thatthe prefix of a namespace can not contain underscore "_" characterthe name of the model can not be "contentModel"&amp;lt;model name="pr:contentModel" xmln</description>
      <pubDate>Wed, 16 Nov 2016 14:53:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-model-quot-name-quot-and-quot-namespace-quot-restrictions/m-p/288092#M241222</guid>
      <dc:creator>mtsiak</dc:creator>
      <dc:date>2016-11-16T14:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: Custom model: "name" and "namespace" restrictions. Config Properties: documentation need</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-model-quot-name-quot-and-quot-namespace-quot-restrictions/m-p/288093#M241223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no explicit code that disallows the underscore as a prefix. But functionality related to the Forms engine will encode the colon of a qualified name as an underscore when transporting it over the wire, as well as decode the first underscore as a colon. This causes issues when you consciously chose to use an underscore in the prefix. This can be seen in places such as &lt;A href="https://github.com/Alfresco/community-edition/blob/master/projects/repository/source/java/org/alfresco/repo/forms/processor/node/QNameFieldProcessor.java#L148" rel="nofollow noopener noreferrer"&gt;QNameFieldProcessor&lt;/A&gt; or &lt;A href="https://github.com/Alfresco/community-edition/blob/master/projects/repository/source/java/org/alfresco/repo/forms/processor/node/ContentModelFormProcessor.java#L199" rel="nofollow noopener noreferrer"&gt;ContentModelFormProcessor&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;I am unaware of any functionality that would interfere with naming a model xy:contentModel. I often use a name as simple as that. Or do you mean the name only be "contentModel" without a prefix? That would be invalid as name is typically required to be a qualified name (QName) - this is the same with name of properties, aspects and types.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2016 16:35:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-model-quot-name-quot-and-quot-namespace-quot-restrictions/m-p/288093#M241223</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2016-11-16T16:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: Custom model: "name" and "namespace" restrictions. Config Properties: documentation need</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-model-quot-name-quot-and-quot-namespace-quot-restrictions/m-p/288094#M241224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your reply. The suggested classed were helpful. &lt;/P&gt;&lt;P&gt;As far as the name, i meant it &lt;EM&gt;with &lt;/EM&gt;the&lt;EM&gt; &lt;/EM&gt;use of a prefix, e.g. &lt;SPAN&gt;pr:contentModel&lt;/SPAN&gt; did not work, wheres &lt;SPAN&gt;pr:myNameModel worked. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2016 13:14:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-model-quot-name-quot-and-quot-namespace-quot-restrictions/m-p/288094#M241224</guid>
      <dc:creator>mtsiak</dc:creator>
      <dc:date>2016-11-18T13:14:01Z</dc:date>
    </item>
  </channel>
</rss>

