Hi again
I've solved the problem and have attached a patch below.
// Jonas
On Mon, 2003-08-18 at 17:36, Jonas Ekstedt wrote:
> Hi
>
> The samples in woody doesn't seem to work correctly. I've included the
> html page in the beanbinding example below to show what I mean.
>
> Some tags are not closed properly but rather closed at the end of the
> file. I've done some research and the problem seems to appear when
> updating
>
> src/blocks/woody/java/org/apache/cocoon/woody/transformation/WidgetReplacingPipe.java
>
> from revision 1.7 to 1.8.
>
> // Jonas
>
>
Index: src/blocks/woody/java/org/apache/cocoon/woody/transformation/WidgetReplacingPipe.java
===================================================================
RCS file: /home/cvspublic/cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/transformation/WidgetReplacingPipe.java,v
retrieving revision 1.9
diff -u -r1.9 WidgetReplacingPipe.java
--- src/blocks/woody/java/org/apache/cocoon/woody/transformation/WidgetReplacingPipe.java 17 Aug 2003 21:03:42 -0000 1.9
+++ src/blocks/woody/java/org/apache/cocoon/woody/transformation/WidgetReplacingPipe.java 18 Aug 2003 15:07:41 -0000
@@ -371,6 +371,8 @@
contentHandler.endPrefixMapping(Constants.WI_PREFIX);
} else if (namespaceURI.equals(Constants.WT_NS) && localName.equals("continuation-id")) {
// nothing
+ } else {
+ super.endElement(namespaceURI, localName, qName);
}
elementNestingCounter--;
}