<when test="contains(' declare namespace prefix ', $spaced)">
<text>shacl:</text>
</when>
- <when test="contains(' inScheme ', $spaced)">
+ <when test="contains(' broader inScheme narrower ', $spaced)">
<text>skos:</text>
</when>
<otherwise>
<text>http://www.w3.org/2001/XMLSchema#string</text>
</when>
<otherwise>
- <call-template name="unprefix">
- <with-param name="prefixed" select="@datatype"/>
+ <call-template name="Vocab:unprefix">
+ <with-param name="prefixed" select="string(@datatype)"/>
</call-template>
</otherwise>
</choose>