[phpXML] RE: [phpXML] phpxml 1.N.5 $this- patch.

2001-09-26 Thread o . talens



Thanks,

That 
fixed the problem.
Can 
you give an example how to use addchild, because I don't get any 
result.

Oliver

  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]Sent: woensdag 26 
  september 2001 0:51To: [EMAIL PROTECTED]Subject: 
  [phpXML] phpxml 1.N.5 "$this-" patch.
  Hmm, it appears that I 
  missed out the "$this-" bit from 6 places in the code. Here's the places 
  that you will want to fix from version 1.N.5 if you can't wait for the next 
  release.diff -r1.1 xpath.class.php
219c219
 return setAttributes($absoluteXPath, $aNewAttributes);
---
 return $this-setAttributes($absoluteXPath, 
$aNewAttributes);
221c221
 return setAttributes($absoluteXPath, $attributes);
---
 return $this-setAttributes($absoluteXPath, 
$attributes);
248c248
 return setAttributes($absoluteXPath, $attributes);
---
 return $this-setAttributes($absoluteXPath, 
$attributes);
838c838
 return _setContent($absoluteXPath, $value);
---
 return $this-_setContent($absoluteXPath, $value);
854c854
 return _setContent($absoluteXPath, $value, TRUE);
---
 return $this-_setContent($absoluteXPath, $value, 
TRUE);
879c879
 _setContent($absoluteXPath, $newContent);
---
 $this-_setContent($absoluteXPath, $newContent);
Oops :o/
Nigel
  ===For the most recent version 
  of phpxml, V1.N.X, and an archive of this list visit: http://www.sourceforge.net/projects/phpxmldb


[phpXML] phpxml 1.N.5 $this- patch.

2001-09-26 Thread nigelswinson




  I 
  think there are many more places where you forgot to add the $this- 
  for example in the setAttribute function.

Agree, found another couple too

===For the most recent version of phpxml, 
V1.N.X, and an archive of this list visit: http://www.sourceforge.net/projects/phpxmldb