--- FeedsQueryPathParser.inc  2010-10-06 17:47:52.000000000 -0400
+++ FeedsQueryPathParser.inc  2010-10-06 17:47:52.000000000 -0400
@@ -80,6 +80,7 @@ class FeedsQueryPathParser extends Feeds
     $form['context'] = array(
       '#type'          => 'textfield',
       '#title'         => t('Context'),
+      '#maxlength'     => 1024,
       '#required'      => TRUE,
       '#description'   => t('This is the base query, all other queries will run in this context.'),
       '#default_value' => isset($source_config['context']) ? $source_config['context'] : '',
@@ -109,12 +110,14 @@ class FeedsQueryPathParser extends Feeds
       $form['sources'][$source] = array(
         '#type'          => 'textfield',
         '#title'         => $target,
+        '#maxlength'     => 1024,
         '#description'   => t('The CSS selector for this field.'),
         '#default_value' => isset($source_config['sources'][$source]) ? $source_config['sources'][$source] : '',
       );
       $form['attrs'][$source] = array(
         '#type'          => 'textfield',
         '#title'         => $target,
+        '#maxlength'     => 1024,
         '#description'   => t('The attribute to return.'),
         '#default_value' => isset($source_config['attrs'][$source]) ? $source_config['attrs'][$source] : '',
       );