private boolean isReservedKeyword ( ) { final String content = mToken . getContent ( ) ; return isKindTest ( ) || "item" . equals ( content ) || "if" . equals ( content ) || "empty-sequence" . equals ( content ) || "typeswitch" . equals ( content ) ; }
Although XPath is supposed to have no reserved words some keywords are not allowed as function names in an unprefixed form because expression syntax takes precedence .