Skip to content

Commit

Permalink
Drop type-of#0
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelhkay committed Nov 12, 2024
1 parent 76061a7 commit e53e705
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions specifications/xpath-functions-40/src/function-catalog.xml
Original file line number Diff line number Diff line change
Expand Up @@ -617,15 +617,10 @@ $node ! (
<fos:function name="type-of" prefix="fn">
<fos:signatures>
<fos:proto name="type-of" return-type="xs:string">
<fos:arg name="value" type="item()*" default="." usage="inspection"/>
<fos:arg name="value" type="item()*" usage="inspection"/>
</fos:proto>
</fos:signatures>
<fos:properties arity="0">
<fos:property>deterministic</fos:property>
<fos:property>context-dependent</fos:property>
<fos:property>focus-dependent</fos:property>
</fos:properties>
<fos:properties arity="1">
<fos:properties>
<fos:property>deterministic</fos:property>
<fos:property>context-independent</fos:property>
<fos:property>focus-independent</fos:property>
Expand All @@ -634,8 +629,7 @@ $node ! (
<p>Returns information about the type of a value, as a string.</p>
</fos:summary>
<fos:rules>
<p>If the argument is omitted, it defaults to the context value (<code>.</code>).</p>
<p>If <code>$item</code> is the empty sequence, the function returns the string <code>"empty-sequence()"</code>.</p>
<p>If <code>$value</code> is the empty sequence, the function returns the string <code>"empty-sequence()"</code>.</p>
<p>Otherwise, the function returns a string, whose lexical form will always match
the grammar of <xnt spec="XP40" ref="SequenceType">SequenceType</xnt>, representing a sequence type that matches
<code>$value</code>. The returned string is the concatenation of:</p>
Expand Down Expand Up @@ -753,7 +747,7 @@ $node ! (
</fos:example>
</fos:examples>
<fos:changes>
<fos:change issue="1550" date="2024-11-12"><p>New in 4.0</p></fos:change>
<fos:change issue="1550" PR="1570" date="2024-11-12"><p>New in 4.0</p></fos:change>
</fos:changes>
</fos:function>

Expand Down

0 comments on commit e53e705

Please sign in to comment.