Declaring 'reserved words'

In working thought the ixml grammar for XPath I of course have potential 
ambiguity between 'element()' as a node kind test and 'element()' as a 
function call. In the XPath spec 'element' (and the like) is a reserved 
name for function calls. I /think/ we cannot express such a reservation 
in iXML, but am not entirely sure, and I'll have to live with the 
ambiguity (and its concommitant ambiguity complexity).

Any enlightenment would be appreciated


John

-- 
*John Lumley* MA PhD CEng FIEE
john@saxonica.com

Received on Monday, 27 June 2022 13:57:55 UTC