% Test case for http://code.google.com/p/minted/issues/detail?id=17
\documentclass{minimal}

\usepackage{hyperref}
\usepackage{minted}
\usepackage{caption}

\begin{document}
\captionof{listing}{Example}
\begin{minted}{xml}
<?xml version="1.0" encoding="UTF-8"?>
\end{minted}
\end{document}
