SPFE Documentation | Collections > SPFE Function Reference > unresolved

Template: unresolved

Description

Outputs a message to the build console stating that a particular subject affinity found in a topic could not be resolved to any subject in the index of any in-scope topic, meaning that no link will be created for that subject.

Source file

$SPFEOT_HOME/1.0/scripts/common/utility-functions.xsl

Parameters

message

Type: item()*

The message to be output. The string "Unresolved: No content to link to on subject " will be prefixed to the message.

in

Type: item()*

A string describing the location where the error occurred. This might be a location in a data file or in a script, depending on what would be most useful to the user in identifying and fixing the source of the problem.

Definition

            <xsl:template name="sf:unresolved">
		               <xsl:param name="message"/>
		               <xsl:param name="in">Not specified.</xsl:param>
		               <xsl:if test="$verbosity='warning'">
			                   <xsl:message >------------------------------------------------------</xsl:message>
			                   <xsl:message >
				                       <xsl:text >Unresolved: </xsl:text>
				                       <xsl:sequence select="string-join($message, '')"/>
			                   </xsl:message>
			                   <xsl:message select="'In: ', string-join($in, '')"/>
			                   <xsl:message >------------------------------------------------------</xsl:message>
		               </xsl:if>
	           </xsl:template>
         
            <xsl:template name="sf:unresolved">
		               <xsl:param name="message"/>
		               <xsl:param name="in">Not specified.</xsl:param>
		               <xsl:if test="$verbosity='warning'">
			                   <xsl:message >------------------------------------------------------</xsl:message>
			                   <xsl:message >
				                       <xsl:text >Unresolved: </xsl:text>
				                       <xsl:sequence select="string-join($message, '')"/>
			                   </xsl:message>
			                   <xsl:message select="'In: ', string-join($in, '')"/>
			                   <xsl:message >------------------------------------------------------</xsl:message>
		               </xsl:if>
	           </xsl:template>