The Field module shows an error when I call drupal_get_form()
Solved this issue when I upgraded to drupal 7.10, but I had to create a node object in the page callback function.

function mymodule_leg_node_form(){
    global $user;
    global $language;

    $node = new stdClass();
    $node-&gt;uid = $user-&gt;uid;
    $node-&gt;type = 'leg';
    $node-&gt;language = $language-&gt;language;

    $form = drupal_get_form('leg_node_form', $node);
    return $form;
}