Difference between revisions of "Template:Validate and render identifier URI"

From TDWG Terms Wiki
Jump to: navigation, search
m (fix setting case handling of uri cases)
m (fix expression)
Line 30: Line 30:
 
     -->{{#if: {{#var: namespaceURIpageList}}<!--
 
     -->{{#if: {{#var: namespaceURIpageList}}<!--
 
         check e.g. "(http://rs.tdwg.org/ac/terms/)"
 
         check e.g. "(http://rs.tdwg.org/ac/terms/)"
       -->|{{#ifexpr: {{#rpos: {{#var: namespaceURIpageList}} | ({{#var: importNamespaceUri}}) }} < 0<!--
+
       -->|{{#ifexpr: {{#rpos: {{#var: namespaceURIpageList}} | ({{#var: importNamespaceUri}}) }} > -1<!--
 
         then-->|_is_definedURI<!--
 
         then-->|_is_definedURI<!--
 
         else-->|{{#if: {{#var: importNamespaceUri}} <!--
 
         else-->|{{#if: {{#var: importNamespaceUri}} <!--

Revision as of 11:42, 19 November 2012

Technical documentation

Dependent on: Template:Warning about conflict of concept URI with SMW import and Concept or Collection

Sets management category: Category: Internal - URI conflict (suppressed by parameter "set management category=no")

Uses variables: hasConflict, importNamespaceUri, namespaceURIpageList