php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13827 Space character gets inserted after parsing xml into an array
Submitted: 2001-10-25 13:28 UTC Modified: 2001-11-15 06:26 UTC
From: erikearle at netscape dot net Assigned:
Status: Closed Package: XML related
PHP Version: 4.0.6 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: erikearle at netscape dot net
New email:
PHP Version: OS:

 

 [2001-10-25 13:28 UTC] erikearle at netscape dot net
Parsing ~40k XML file into an array using the SAX parser.

A single whitespace character always gets inserted at the same location.  It always inserts a space at the location that corresponds to character number 16385 in the source xml file.

Don't know if the bug is in the XML parser or Array.

I'm using Globalhosting.com (whom I assume compiled all the binaries).  The following is their config:

'./configure' '--with-apxs=/usr/local/apache/bin/apxs' '--with-xml' '--with-curl' '--with-swf=/usr/local/flash' '--enable-ftp' '--with-gd=../gd-1.8.4' '--with-jpeg-dir=/usr/local' '--with-xpm-dir=/usr/X11R6' '--with-imap=../imap-2001.BETA.SNAP-0105220031' '--with-ming=../ming-0.1.1' '--enable-magic-quotes' '--with-mysql' '--enable-safe-mode' '--enable-track-vars' '--with-ttf' '--enable-versioning' '--with-zlib'

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-10-25 18:51 UTC] sniper@php.net
Add the shortest possible self-containing example script 
which can be used to reproduce this problem here.

--Jani

 [2001-11-15 06:26 UTC] sander@php.net
No feedback. Closing.
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Nov 28 03:03:14 2021 UTC