Hallo Samuel,
I reported the case as Bug 15179 "xmlXPath failing with count".

>>May i suggest adding a space to '<wpt' => '<wpt '.<< Why? Would '</wpt> ' be even better?

Regards
Jens
---------------------------------------------------------------------------------------------------

Am 07.06.2017 23:09, schrieb Samuel Gougeon:
Hello Jens,

Le 07/06/2017 à 09:49, Jens Simon Strom a écrit :
Hallo Samuel,
So I better count with something like this:
wpt_pos=grep(XmlDump,'<wpt');
wpt_n=length(wpt_pos);
Thanks again, Jens

This is a useful workaround.
May i suggest adding a space to '<wpt' => '<wpt '.

Reporting the bug would be actually the best way to thanks, i think.

Best regards
Samuel



_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users

_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users

Reply via email to