[wpkg-users] Host match disruptive changes in 1.2?

Rainer Meier r.meier at wpkg.org
Thu Jul 21 00:05:15 CEST 2011


Hi Stefan,

On 20.07.2011 23:37, Stefan Pendl wrote:
> Attached find the hosts files.

Many thanks for the files and for further testing. Indeed I seem to have broken 
or "over-optimized" XML reading and forgot to take into account that loadXML() 
seems not to modify the existing XML DOM source but instead creates a new 
(extended) document which needs re-fetching of the root node.

Anyway I've checked in a fix:

FIX: Fixed reading multiple XML files from directory. The last commit included
      too many optimizations and did not take into account that MSXML creates a
      new XML document when loadXML() is used on a XML DOM object instead of
      just modifying the existing one. So the root element has to be re-read.


<http://wpkg.svn.sourceforge.net/viewvc/wpkg/wpkg/stable/1.2/>

Would be great if you give it a try.

br,
Rainer



More information about the wpkg-users mailing list