Split environment

Андрей Забавников <[email protected]>
Newsgroups gmane.comp.tex.miktex
Message-ID <CAHWh1-U+9EKiwTNUexNB4uc_7fHUywNqDrYp9oG=9U2QA-_RKA@mail.gmail.com>
Hello to everybody ! First of all sorry for my English since I'm not a
native speaker.
What I wanted to know is whether it is normal for the following code not to
compile with error:

! Extra alignment tab has been changed to \cr.
<template> }$\hfill \endtemplate

l.10                 \end{split}


CODE:

\documentclass{article}

\usepackage{amsmath}

\begin{document}
            \begin{equation}
                \begin{split}
                    g & < & f \\
                    g & < & f \\
                \end{split}
            \end{equation}

\end{document}

END OF CODE

Did i misunderstood somehow my books or is it some bug or whatever ?
------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.