I am using cleveref for my references, and I just noticed that a reference to a table is actually resolved by cleveref into “section”. Is that indended behaviour? Is there maybe something wrong with my TeXLive? This looks very odd to me:

\documentclass{article}
\usepackage{cleveref}
\begin{document}
\section{Top section}
\subsection{Lower section}\label{sec:lower}
This is a reference to my \cref{tab:test} and to my \cref{sec:lower}.
Also, a reference to a second \cref{tab:test2}
\begin{table}[hbtp]
\centering
\begin{tabular}{rr}
Case & One \\
\end{tabular}
\label{tab:test}
\caption{This is a table.}
\end{table}
\begin{table}[hbtp]
\centering
\begin{tabular}{rr}
Case & One \\
\end{tabular}
\label{tab:test2}
\caption{This is a table.}
\end{table}
\end{document}
\labelafter\caption. – lockstep May 19 '13 at 20:00