In the Star Wars Episode I: The Phantom Menace movie there is an episode, where Obi-Wan and Qui-Gon Jinn encounter Darth Maul. Darth Maul came out to them alone, drew a weapon and than froze - it was a clear invite to a duel. And the Jedi, without signs of doubt, immediately started hacking at him as mad TOGETHER.
Well, I would not be surprised if two Sith had attacked a lone Jedi, because they are bad guys. But seeing such questionable behaviour from Jedi is strange for me, because it seems to contradict the general knightly and moral attitude of Jedi.
Why did Obi Wan and Qui-Gon Jinn do this? How does attacking with superior numbers in a duel relate to the Jedi code?