Bug #10873: internal xmlparser eats only formatted xmlstrings...
| From: | tf at tfromm dot com | Date: | Tue, 15 May 2001 09:40:15 +0000 |
| Subject: | Bug #10873: internal xmlparser eats only formatted xmlstrings... | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-55325@lists.php.net to get a copy of this message | ||
From: tf@tfromm.com
Operating system: linux
PHP version: 4.0.5
PHP Bug Type: XML related
Bug description: internal xmlparser eats only formatted xmlstrings...
i use xmlrpc (from usefulinc) to communicate with different java systems. when i receive data, the
data comes mostly only as string with only one row (no newlines between the tags).
there are 2 different javaxmlparser in usage and they send and parse these datas without problems.
expat seems to need newlines after tags, i used tidy from w3 to format the strings before using them
with the phpparser.
this workaround costs lot of speed, the xmlstrings are ~ 200k.
could it be possible, that tidy can be build into the expat extension to perform an optional
formation of the xmlstring?
the strings are similar like this:
<?xml version="1.0"
encoding="ISO-8859-1"?><methodResponse><params><param><value><array><data><value>
... lots of tags and strings and everything in one row ...
</value></data></array></value></param></params></methodResponse>
--
Edit Bug report at: http://bugs.php.net/?id=10873&edit=1