The following is an MWE for a problem that I'm facing:
\documentclass{article}
\usepackage{hyperref}
\usepackage{unicode-math}
\setmathfont{Asana Math}
\begin{document}
\section{$2\times 2$}
$2 \times 2$
\end{document}
When compiling this with xelatex, I get the following error:
! Improper alphabetic constant.
<to be read again>
\times
l.7 \section{$2\times 2$}
But the error goes away if I remove the inclusion of the hyperref package.
Now obviously I'd like to be able to use math in a section header, and with pdflatex the compilation is fine (except for hyperref grumbling about math in bookmarks, which can be fixed by other means).
So is there something I'm doing wrong with xelatex ?