stevenn 2003/02/14 05:30:02
Modified: src/java/org/apache/cocoon/transformation/helpers
MirrorRecorder.java
Log:
Playing commit puppy for Bruno <[EMAIL PROTECTED]>:
if in an XML resource bundle, the contents of a message element is inside a CDATA
section, then i18n:text would be replaced with an empty string.
Revision Changes Path
1.6 +2 -1
xml-cocoon2/src/java/org/apache/cocoon/transformation/helpers/MirrorRecorder.java
Index: MirrorRecorder.java
===================================================================
RCS file:
/home/cvs/xml-cocoon2/src/java/org/apache/cocoon/transformation/helpers/MirrorRecorder.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- MirrorRecorder.java 31 Jan 2003 22:51:58 -0000 1.5
+++ MirrorRecorder.java 14 Feb 2003 13:30:02 -0000 1.6
@@ -235,6 +235,7 @@
}
endElement(n.getNamespaceURI(), n.getNodeName(), n.getNodeName());
break;
+ case Node.CDATA_SECTION_NODE:
case Node.TEXT_NODE:
characters(n.getNodeValue());
break;
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]