The April 2005 XQuery spec has: [84] VarRef ::= "$" VarName This says that "$x" and "$ x" are equivalent VarRefs. Is this intentional? Bob Foster