Details
-
Bug
-
Status: Open
-
Resolution: Unresolved
-
2.5.0
-
None
-
None
-
Operating System: Windows NT/2K
Platform: PC
-
22324
Description
I have an XML document which has a text node containing a Base64 encoded string.
Suppose that cipherNode is the Element node containing the encoded text, my
code does the following:
Node textNode = cipherNode.getFirstChild();
String cipherValue = ( (Text) textNode ).getNodeValue();
always, cipherValue is a String of length 1690 (the value of the text node is
much larger). There are no special characters in the text value.
Is this normal behavior? Why 1690? Is there a limitation of a text node's value
size?
THanks,
Marius