Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-610

Plugin.xml XSD does not seem to validate content type declaration format

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • 2.LATER
    • None
    • None
    • None

      I declared something like this:

      <cms:content-type>
         <cms:label i18n="true">DOCBOOK_CONTENTTYPE_LABEL</cms:label>
         <cms:description i18n="true">DOCBOOK_CONTENTTYPE_LABEL</cms:description>
         <cms:icons>
      	<cms:small plugin="cms">img/contenttype/icon-small.gif</cms:small>
      	<cms:medium plugin="cms">img/contenttype/icon-medium.gif</cms:medium>
      	<cms:large plugin="cms">img/contenttype/icon-large.gif</cms:large>
         </cms:icons>
        </cms:content-type>
      
        <cms:metadata name="reference" type="string">
          <label i18n="true">REFERENCE</label>
          <description i18n="true">REFERENCE</description>
        </cms:metadata>
      

      instead of

      <cms:content-type>
         <cms:label i18n="true">DOCBOOK_CONTENTTYPE_LABEL</cms:label>
         <cms:description i18n="true">DOCBOOK_CONTENTTYPE_LABEL</cms:description>
         <cms:icons>
      	<cms:small plugin="cms">img/contenttype/icon-small.gif</cms:small>
      	<cms:medium plugin="cms">img/contenttype/icon-medium.gif</cms:medium>
      	<cms:large plugin="cms">img/contenttype/icon-large.gif</cms:large>
         </cms:icons>
        
         <cms:metadata name="reference" type="string">
           <label i18n="true">REFERENCE</label>
           <description i18n="true">REFERENCE</description>
         </cms:metadata>
      </cms:content-type>
      

      and it validated

            Unassigned Unassigned
            joel Joel Vimenet (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: