Re: [PHP] XML Parsing Problem

2002-01-03 Thread Ben Gollmer
our can be very useful. > > Matt. > > > -Original Message- > From: Ben Gollmer [mailto:[EMAIL PROTECTED]] > Sent: 02 January 2002 23:16 > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] XML Parsing Problem > > > Ok, I can understand the

RE: [PHP] XML Parsing Problem

2002-01-02 Thread Matthew Clark
. -Original Message- From: Ben Gollmer [mailto:[EMAIL PROTECTED]] Sent: 02 January 2002 23:16 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] XML Parsing Problem Ok, I can understand the predefined entity replacement. But why does it break the string up into 3 parts? I think it

Re: [PHP] XML Parsing Problem

2002-01-02 Thread Ben Gollmer
Ok, I can understand the predefined entity replacement. But why does it break the string up into 3 parts? I think it should just return "Follow-up To Critique of BeOS & Mac OS X". Ben On Wednesday, January 2, 2002, at 02:05 PM, Matthew Clark wrote: > Hi there, > > This is not a bug.. this is

RE: [PHP] XML Parsing Problem

2002-01-02 Thread Matthew Clark
Hi there, This is not a bug.. this is expected behaviour. The string would be chopped up into 3 parts because you have : 1. a string: "Follow-up To Critique of BeOS " 2. a predefined entity : "&" 3. a string: "amp; Mac OS X" There are not actually two ampersands.. you have & followed by amp; -