note 87948 rejected from class.domtext by danbrown

From: Date: Thu, 01 Jan 2009 17:54:33 +0000
Subject: note 87948 rejected from class.domtext by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-148745@lists.php.net to get a copy of this message
Note Submitter: eric at midkotasolutions dot com ---- Note that there is a limitation to the maximum size of a string for a node. I am submitting here in as documentation. I have a string that is 455K in Size. I tried creating an XML Node with this string as it's value, but the string always gets cut off at about 83K - I attempted using both the nodeValue property, and by creating a new DOMTextNode. To replicate, create a string that is greater than 83K (or so) - <?php $string="text that is really big" $node=new DOMText($string); echo $node->wholeText; ?> The echo'd value will be cut off at about 83K

« previous php.notes (#148745) next »