Author: tim
Date: Tue Nov  2 10:51:48 2004
New Revision: 56402

Modified:
   
cocoon/trunk/src/blocks/forms/java/org/apache/cocoon/forms/transformation/EffectWidgetReplacingPipe.java
Log:
FormsTransformer: move startPrefixMapping() to sync with BRANCH_2_1_X

Modified: 
cocoon/trunk/src/blocks/forms/java/org/apache/cocoon/forms/transformation/EffectWidgetReplacingPipe.java
==============================================================================
--- 
cocoon/trunk/src/blocks/forms/java/org/apache/cocoon/forms/transformation/EffectWidgetReplacingPipe.java
    (original)
+++ 
cocoon/trunk/src/blocks/forms/java/org/apache/cocoon/forms/transformation/EffectWidgetReplacingPipe.java
    Tue Nov  2 10:51:48 2004
@@ -292,7 +292,6 @@
                 if (contextWidget != null) {
                     throwSAXException("Detected nested ft:form-template 
elements, this is not allowed.");
                 }
-                out.startPrefixMapping(Constants.INSTANCE_PREFIX, 
Constants.INSTANCE_NS);
 
                 // ====> Retrieve the form
                 // First look for the form using the location attribute, if any
@@ -327,6 +326,8 @@
                     }
                 }
                 
+                out.startPrefixMapping(Constants.INSTANCE_PREFIX, 
Constants.INSTANCE_NS);
+
                 // we need to merge input.attrs with possible overruling 
attributes 
                 // from the pipeContext
                 input.addAttributes(pipeContext.getFormAttributes());

Reply via email to