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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
33 - 26 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Thu Mar 28 16:01:29 2024 UTC