php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10873 internal xmlparser eats only formatted xmlstrings...
Submitted: 2001-05-15 05:40 UTC Modified: 2010-12-20 10:23 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: tf at tfromm dot com Assigned:
Status: No Feedback Package: XML related
PHP Version: 4.0.5 OS: linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: tf at tfromm dot com
New email:
PHP Version: OS:

 

 [2001-05-15 05:40 UTC] tf at tfromm dot com
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>

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-01-14 09:57 UTC] lobbin@php.net
Can this be reproduced with 4.1.1?
 [2002-02-25 00:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2010-12-20 10:23 UTC] jani@php.net
-Package: Tidy +Package: XML related
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 03:01:28 2024 UTC