Hi Gertjan

There is probably a reason but I don't remenber why :(
Revert if you want It's not a problem

Bye

Gertjan van Oosten a écrit :
> Bonsoir Olivier,
>
> Any particular reason why you changed the function getFeatureNodes() in
> lib/model/FeatureCollection.js from:
>
>   this.getFeatureNodes = function() {
>     return this.doc.selectNodes(this.nodeSelectXpath);
>   }
>
> to:
>
>   this.getFeatureNodes = function() {
>     //alert( (new XMLSerializer()).serializeToString(this.doc))
>     var featureMember =  this.doc.selectSingleNode(this.nodeSelectXpath);
>     if( featureMember != null )
>       return featureMember.childNodes
>     else
>       return null;
>   }
>
> As far as I can see, the old version returns an array of nodes (as most
> callers of the function seem to expect), whereas the new one does not.
> Can I revert the behaviour to the old version, as otherwise my code no
> longer works?
>
> A+,
>   


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
mapbuilder-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-devel

Reply via email to