[Scilab-users] xmlns attribute cancels counting <= Re: xmlXPath with count

Jens Simon Strom j.s.strom at hslmg.de
Thu Jun 8 22:38:19 CEST 2017


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 at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20170608/ec6e4c9a/attachment.htm>


More information about the users mailing list