Posts

Showing posts from May, 2010

Understanding caching, persisting in Spark -

Image
can 1 please correct understanding on persisting spark. if have performed cache() on rdd value cached on nodes rdd computed initially. meaning, if there cluster of 100 nodes, , rdd computed in partitions of first , second nodes. if cached rdd, spark going cache value in first or second worker nodes. when spark application trying use rdd in later stages, spark driver has value first/second nodes. am correct? (or) is rdd value persisted in driver memory , not on nodes ? change this: then spark going cache value in first or second worker nodes. to this: then spark going cache value in first and second worker nodes. and... yes correct! spark tries minimize memory usage (and love that!), won't make unnecessary memory loads, since evaluates every statement lazily , i.e. won't actual work on transformation , wait action happen, leaves no choice spark, actual work (read file, communicate data network, computation, collect result driver, exampl...

ruby - Rails 4 - Bootstrap modal form - setup -

i'm trying follow this tutorial setup modal containing nested form in rails 4 app. i have models project , invite. associations are: project has_many :invites invite belongs_to :project in views projects folder, have made partial called new_invitation.html.erb <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> <h3 id="mymodallabel">modal header</h3> </div> <div class="modal-body"> **here comes whatever want show!** </div> <div class="modal-footer"> <button class="btn" data-dismiss="modal" aria-hidden="true">close</button> <button class="btn btn-primary">save changes</button> </div> i'm trying link from project show page, has: <%= link_to 'invite team mates', ...

javascript - firebase.auth().createCustomToken is undefined on web app -

i'm trying create "remember me" function web app uses firebase. my goal when user clicks "remember me" , logs in successfully, authentication token stored using localstorage , logged in automatically on next visit (i prefer storing raw credentials in localstorage security purposes). however, when tried call firebase.auth().createcustomtoken got error saying not exist. wrong approach or wrong function call firebase? thanks! here sample of code: var customtoken = firebase.auth().createcustomtoken(user.uid); localstorage.setitem("savedtoken", customtoken); then later plan use line sign in: firebase.auth().signinwithcustomtoken(localstorage.getitem("savedtoken")).then(function() { firebase.auth().createcustomtoken available in server api. to authenticate email & password , token session, try this: firebase.auth().signinwithemailandpassword(email, password) .then(function(user) { user.gettoken().then(functi...

Colors are not concatenating correctly in Sass -

i trying concatenate 2 colors in sass: $helloworld: pink; $secondstring: red; p { color:$helloworld + $secondstring; } but result is: p { color: pink; } why aren't colors concatenating produce pinkred ? this because sass treats colors hex value, regardless if they're named pink . they're hex values under hood. per sass documentation : colors any css color expression returns sassscript color value . includes a large number of named colors indistinguishable unquoted strings. the emphasis mine. documentation states color value returned, hex value. included link shows named colors such pink hex values under hood. address adding issue, refer documentation again: color operations all arithmetic operations supported color values, work piecewise. means operation performed on red, green, , blue components in turn. example: p { color: #010203 + #040506; } computes 01 + 04 = 05, 02 + 05 = 07, , 03 + 06 = 09 , , compiled ...

git - how to do bisect to find a good commit from upsteam linux kernel? -

i using bisect find commit fix s4 issue upstream kernel codes. meet confusing issue when : git bisect start git bisect bad v4.8-rc1 git bisect v4.7 it take 13 steps finish result . but found bisect choose commits older v4.7 tag , normal ? in opinion ,bisect should choose commits between v4.7 tag , v4.8-rc1 tag judging time line . in opinion ,bisect should choose commits between v4.7 tag , v4.8-rc1 tag judging time line . this not bisect do. bisect choose commits contained in tag v4.8-rc1 , not contained in tag v4.7. differ if e.g. branch created v4.6 , changes committed before v4.7 created - branch not merged v4.7. in kernel development there might lot of changes have been committed quite time before have been merged. date of commits before v4.7, changes not contained in v4.7. it important bisect behaves way , not based on time used find commit introduced problem. can happen commit created before "good" version not contained yet. if hav...

python - Install Paramiko Errors -

i trying install paramiko. following errors. traceback (most recent call last): file "/usr/bin/pip", line 9, in <module> load_entry_point('pip==1.5.6', 'console_scripts', 'pip')() file "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 558, in load_entry_point return get_distribution(dist).load_entry_point(group, name) file "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2682, in load_entry_point return ep.load() file "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2355, in load return self.resolve() file "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2361, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) file "/usr/lib/python2.7/dist-packages/pip/__init__.py", line 74, in <module> pip.vcs import git, mercurial, subversion, bazaar # noqa...

javascript - How do you prevent nested queries/catches in sequelize? -

i think i'm preventing nested queries as possible, i'm not sure. understand calls here can executed in single select query, did simplify example. // example in typescript // find user user.find({where:{username:'user'}}) // if found user .then(function(user) { return user.find({where:{username:'other_user'}}) // if found other_user .then(function(other_user) { // stuff return whatever_i_need } // if went wrong, go straight parent catch .catch(function(err) { // stuff throw new error() } } // if previous .then() returned success .then(function(data) { return user.find({where:{username:'yet_another_user'}}) // if found yet_another_user .then(function(yet_another_user) { // stuff return whatever_i_need_again ...

ios - Vertical scrollview conflicting with vertical navigation -

in react native app i'm using askonov's react-native-router-flux display scene vertical scrollview widget. i've configured scene float bottom , appears that, default, dragging down top closes scene. <router> <scene key="root" hidenavbar={true}> <scene key="welcome" component={welcome}/> <scene key="demo" component={demo} direction="vertical"/> </scene> </router> the scrollview contains more can displayed on screen users expected drag , down. unfortunately appears drag-down-to-close-scene behavior conflicting scrollview, users unintentionally closing scene when want scroll up. specifically - looks flick gesture being overridden. flicking doesn't fling scrollview content should, while flicking down closes scene. this appears new behavior since i've upgraded react native 0.32. when @ 0.22 flick gesture still worked fling scrollview content. id...

javascript - Angularjs multiple index page -

i have 2 page "login" , "dashboard". if user unauthenticate login page loaded, after login success page redirect dashboard page. in scenario use obfuscator dashboard page, after user login browser received secret key server decode. have split app 2 page, please ignore suggest combine them single page. have create 2 index page, 2 app module not known how load index page base on authentication. you can use ng-route or ui router in inorder route different pages based on token. here's documentation link , example .

How PI() Value is Calculated in Excel? -

please can share opinion excel how calculate pi() value. in execl while calculating =tan(30*pi()) formula returns -1.07809e-14 .if directly give pi() value(3.141593) returns 1.03923e-05 . it's not calculated @ all, stored constant @ maximum significance machine. that's pretty more 6 decimal places. here's first 20 digits, try putting in: 3.14159265358979323846

ruby on rails - Count where is not null -

for use appointment.where.not(time: nil).count is possible via appointment.count ? if want achieve using .count you'll have load objects database use ruby count. (from docs: http://edgeapi.rubyonrails.org/classes/activerecord/associations/collectionproxy.html#method-i-count ) so right way have. builds query count objects time column not null. why change that?

database - how to export source code from db to csv? -

in database have text field named source code , save source codes programming language including characters specially in comments. want have exact code. how can export csv , show whole code in 1 cell? when export db source code part in several cells , in several lines , each row not in 1 line. thank you

twitter bootstrap - NavBar collapse not working with ng-include -

i have 3 html pages. 1. index.html 2. masterpagenvarbar.html 3. contentpage.html ** in index.html calling masterpagenavbar.html , contentpage.html .below code. <body ng-app="theapp"> <div ng-include="'../views/masterpagenavbar.html'"></div> <div ng-include="'../views/contentpage.html'"></div> </body> ** in masterpagenavbar.html collapse functionality(data-toggle) working fine , when run alone page. when combine masterpage.navbar.html , contentpage.html in 'index.html" collapse not working. may contentpage.html not allowing space show navbar content when user clicks on toggle icon button. here "masterpagenavbar.html" code <!doctype html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js">...

sed - Replace \n(new line) with space in bash -

i reading sql queries variable db , contains new line character (\n). want replace \n (new line) space. tried solutions provided on internet unsuccessful achieve want. here tried : strr="my\nname\nis\nxxxx"; nw_strr=`echo $strr | tr '\n' ' '`; echo $nw_strr; my desired output "my name xxxx" getting "my\nname\nis\nxxxx". tried other solution provided @ internet, no luck: nw_strr=`echo $strr | sed ':a;n;$!ba;s/\n/ /g'`; am doing wong? with bash: replace newlines space: nw_strr="${strr//$'\n'/ }" replace strings \n space: nw_strr="${strr//\\n/ }"

java - Spring Error - Handler Method not Found -

i have problem in calling controller. server returns did not find handler method error. following web.xml : <?xml version="1.0" encoding="utf-8"?> <web-app xmlns="http://java.sun.com/xml/ns/javaee" version="2.5" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xsi:schemalocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"> <welcome-file-list> <welcome-file>login.jsp</welcome-file> </welcome-file-list> <context-param> <param-name>contextconfiglocation</param-name> <param-value>/web-inf/classes/root-context.xml</param-value> </context-param> <context-param> <param-name>log4jconfiglocation</param-name> <param-value>/web-inf/classes/log4j.xml</param-value> </context-param> <context-param...

Can an Azure Function App access an on-premises resource via a VPN or Hybrid connection? -

function apps run on dynamic service plan restricted in ways (as expected). is possible somehow call on-premises resource (via vpn or hybrid connection) function app in dynamic service plan? would able consider using azure service bus? functions have support adding messages servicebus queue (read more: https://azure.microsoft.com/en-us/documentation/articles/functions-bindings-service-bus/ ) , in on-prem environment you'd process servicebus queue. this i've done provisioning logic web jobs , other cloud-to-onprem environments previously, while i've yet try functions - per article mentioned functions should able process messages sb queue. hope helps.

c# - Need images with lower resolution "stretched" to screen size -

Image
i making video game using c# wpf. trying implement now, add additional resolutions. my default monitor resolution 1600x900. using same size game's window , grids. now, want add more resolutions. found easy way change values in code, problem on topic. that's how game looks on 1600x900. then, trying set resolution 800x600. what want achieve, make images resolution lower 1 set in windows, "stretched" , still cover screen. that's get. game takes part of screen, , white background on remaining part. the stretched window, trying achieve looks that. create image stretched previous image in graphics editor. want game itself. if @ first , third screens @ full size, you'll notice different, , lower image has worse detail. how can window or grid has resolution lower 1 in windows, still cover full screen? update: code 1 of game screens - main menu <grid x:name="areamenu" panel.zindex="1010" horizontalalignment=...

c# - Exception from HRESULT: 0x8007007E UWP -

Image
while try deploy uwp blank project in windows 10 phone, deployment error follow. in configuration manager has been configured correctly. there no extensions , nugget packages added in solution.

node.js - Mongo updating inside a double nested array -

i have mongo collection looks this db.users.find().pretty() { "_id" : objectid("57c3d5b3d364e624b4470dfb"), "fullname" : "tim", "username" : "tim", "email" : "tim@gmail.com", "password" : "$2a$10$.z9cnk4okrc/cujdkxt6yutohqkhbaanuoahtxqp.73kfywrm5dy2", "workout" : [ { "workoutid" : "bkb6hiws", "workoutname" : "chest day", "bodytarget" : "chest", "date" : "monday, august 29th, 2016, 2:27:04 am", "exercises" : [ { "exerciseid" : "bym88lzi", "exercise" : "bench press", "date" : "monday, august 29th, 2016, 2:29:30 am" }, { ...

android - Setting certain item in select option from object collection using ionic framework -

short description of problem: i facing 2 problems while using "select" in ionic working when tried using angularjs. 1. setting array of 1st index select coming blank. 2. trying update array splicing , trying update select again bringing me blank select option. what behavior expecting? 2 problems expecting respective array item selected given through controller. steps reproduce: at start when u run app blank select option. the other problem can seen deleting item , other default item selected. code snippet: .controller('dashctrl', function($scope) { $scope.options = [{name: 'var1',id: 1}, { name: 'var2', id: 2}, {name: 'var3',id: 3}]; $scope.yourselect = $scope.options[0]; $scope.delete = function() { // alert("clciked"); $scope.deleted = $scope.options.splice(1,1); $scope.yourselect = $scope.options[0]; al...

pass arguments from batch file to VBScript File -

i trying pass arguments batch file vb script file. set inputfile ="c:\temp\inputfile_mod.csv" set outputfile = "c:\temp\outputfile.dat" i tried pass variables below not getting vbscript file. cscript sfevbmacro.vbs inputfile outputfile but if pass direct path of files below working fine cscript sfevbmacro.vbs c:\temp\inputfile_mod.csv c:\temp\outputfile.dat. is there wrong in passing arguments variables? vbscript code: set args = wscript.arguments inputfile = wscript.arguments.unnamed(0) createdfilepath = wscript.arguments.unnamed(1) sub readcsvfile() set objfiletoread = objfso.opentextfile(inputfile,1) rem read csv file end sub readcsvfile can can please. there 2 problems in code. first 1 variable assignment set inputfile ="c:\temp\inputfile_mod.csv" ^ set outputfile = "c:\temp\outputfile.dat" ^ ^ the spaces indicated included in variable name (when placed in left side of equ...

appcelerator - Runtime Error - Java Exception occured -

i doing android application using appcelerator titanium. while run app in device, getting following error. don't know problem in code. [error] : tiexceptionhandler: (main) [13,3502] ----- titanium javascript runtime error ----- [error] : tiexceptionhandler: (main) [1,3503] - in ti:/events.js:64,19 [error] : tiexceptionhandler: (main) [0,3503] - message: uncaught error: java exception occurred [error] : tiexceptionhandler: (main) [0,3503] - source: handled = this._fireeventtoparent(type, data) || handled; [error] : v8exception: exception occurred @ ti:/events.js:64: uncaught error: java exception occurred

string - AX2009 - str data type limit -

is there limit on size of str data type in ax2009? there extended data type (memo) can inherited extended data types. difference between extended data type inherited (memo) , str data type? not (memo) str data type? for limit: yes , no. practical purposes unlimited x++ runtime has limit can find out feeding large values strrep function until encounter errors. all edts based on strings 'mapped' str in x++ result in different column types in database backend or different control properties when rendered in ui. when considering x++, can treat memo edt same str please notice come different 'realms' of ax - str string type of x++ used building business logic in ax , memo base edt unlimited strings when modelling database , ui part of ax.

JSF Composite pass all events -

i want create custom composite component in jsf (with primefaces) shows label in front of input adds message @ end. in order here source code: the composite: <?xml version="1.0" encoding="utf-8"?> <!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:p="http://primefaces.org/ui" xmlns:composite="http://java.sun.com/jsf/composite"> <composite:interface componenttype="custominput"> <composite:attribute name="label" /> <composite:attribute name="value" /> </composite:interface> <composite:implementation> <h:panelgrid columns="3"> <h:outputtext value="#{cc.attrs.label}:...

node.js - How to dynamically include file with variable in EJS version 2? -

recently, using ejs(version - 0.8.4) working fine following updation in file: node_modules/lib/ejs.js @ line ~ 155 : old code : if (0 == js.trim().indexof('include')) { var name = js.trim().slice(7).trim(); if (!filename) throw new error('filename option required includes'); var path = resolveinclude(name, filename); include = read(path, 'utf8'); include = exports.parse(include, { filename: path, _with: false, open: open, close: close, compiledebug: compiledebug }); buf.push("' + (function(){" + include + "})() + '"); js = ''; } to code : if (0 == js.trim().indexof('include')) { var name = js.trim().slice(7).trim(); if (!filename) throw new error('filename option required includes'); // if not path, variable name (added) if(options[name]) var path = resolveinclude(options[name], filename); else var path = resolveinclude(name, filename); include = read(path, 'utf8'); include = exp...

php - laravel installation error in ubuntu 16.04 -

i having trouble while installation error in laravel. first install xampp in ubuntu 16.04. after cd /opt/lampp/htdocs/ composer create-project --prefer-dist laravel/laravel blog installation laravel composer error occurs e: package 'php5-mcrypt' has no installation candidate shwekayin@shwekayin-virtualbox:/opt/lampp/htdocs$ composer create-project --prefer-dist laravel/laravel blog1 installing laravel/laravel (v5.3.0) - installing laravel/laravel (v5.3.0) loading cache created project in blog1 > php -r "file_exists('.env') || copy('.env.example', '.env');" loading composer repositories package information updating dependencies (including require-dev) requirements not resolved installable set of packages. problem 1 - laravel/framework v5.3.4 requires ext-mbstring * -> requested php extension mbstring missing system. - laravel/framework v5.3.3 requires ext-mbstring * -> requested php extension mbstring missing...

xmpp - Openfire ConversationID has changed after logout -

Image
i'm developing chat app use xmppframework , openfire server. when (usn2) send message usn1, message has been created in ofmessagearchieve conversationid. after logout , login again, when chat, new conversation has created (see image below), want add message exist conversation. how can this? code send message: let msg = xmppmessage(type: "chat", to: xmppjid.jidwithstring(getjidfromname(stateid))) msg.addbody(message) msg.addattributewithname("id", stringvalue: stream.generateuuid()) stream.sendelement(msg) although changed openfire @shoaib ahmad gondal suggested. still happens messageid , conversationid not same. messageid generates each message send conversationid generates based on users & session(maybe). keep them same have modify message archive plugin or develop new one.

matlab - Change Axes Tick Label in Surf - Plot -

Image
problem i have surf plot based on loop data , change appearence of x-tick label , y-tick label, without changing appearnce of plot. namely multiply x-axis 1000 , divide y-axis hundred. have tried following code: code h=surf(results) hold on ax=gca; xlim=[200 2000]; ax.ytick=ax.ytick/100; ax.xtick=ax.xtick*1000; h.edgealpha=0; hold off the faulty result what should like with changes implemented minor x , y tick label disappear , x-lim not work either, creating massive yellow wall can seen in picture, have no data first 200 steps (before changing tick-label). any on appreciated! i think wants change "ticklabels" ( yticklabel , xticklabel , ...). "ticks" refer actual values in plot , ticklabels refers printed on actual tick. h=surf(results) hold on ax=gca; xlim=[200 2000]; ytext=ax.ytick/100; xtext=ax.xtick*1000; ax.yticklabel = ytext; ax.xticklabel = xtext; h.edgealpha=0; hold off

javascript - Add "1" to the start and end of an Array -

i'm trying write function add "1" start , end of array. code tried: var addtwo = function(array) { var myarray = array; var arraylength; arraylength = array.unshift(1); arraylength = array.push(1); return myarray; }; the issues can see function you're doing myarray; at end, doesn't useful, you're not using arraylength variable anything, , don't need myarray variable. unshift , push fine. so perhaps: var addtwo = function(array) { array.unshift(1); array.push(1); return array; }; the reason need return array if caller doesn't have handy reference it. usage examples: var = ["apple","orange","banana"]; addtwo(a); console.log(a); // [1, "apple", "orange", "banana", 1] var addtwo = function(array) { array.unshift(1); array.push(1); return array; }; var = ["apple","orange","banana...

c# - difference when binding a Label and a TextBox (XAML) -

just found out surprised with. xaml code: <label content="{binding myparameter}"/> <textbox text="{binding myparameter}" /> myparameter instance of class tostring() method overridden: public override string tostring() { console.writeline("displaying value: " + name); return name; } when rendering: label invokes tostring() , displays name property. textbox not display anything can explanation why? content expected object, means tostring() called. text expected string property. if text not bound string property, framework error handling kicks in , displays nothing. the best practice bind directly values wish display, rather parent object. in case, bind name property, directly.

mysql - Comparing Two Stored Procedures -

a beginner sql , have been asked prove 2 sql stored procs don't return same data. i have run both queries , copied both reports excel file , used vlookup show id's in 1 report , not another. one stored proc longer joining other tables , database. other simple select table in database. i told go though procs piece piece , analyse differences , put report on why these procs don't return same data. can offer me advice on way create report.

java - ConcurrentModificationException upon committing transaction with Hibernate -

in our application have upgraded hibernate 3.5.6-final 4.2.21.final , getting concurrentmodificationexception when database transaction committed: java.util.concurrentmodificationexception: null @ java.util.arraylist$itr.checkforcomodification(arraylist.java:901) @ java.util.arraylist$itr.next(arraylist.java:851) @ org.hibernate.engine.spi.actionqueue.executeactions(actionqueue.java:386) @ org.hibernate.engine.spi.actionqueue.executeactions(actionqueue.java:304) @ org.hibernate.event.internal.abstractflushingeventlistener.performexecutions(abstractflushingeventlistener.java:349) @ org.hibernate.event.internal.defaultflusheventlistener.onflush(defaultflusheventlistener.java:56) @ org.hibernate.internal.sessionimpl.flush(sessionimpl.java:1195) @ org.hibernate.internal.sessionimpl.managedflush(sessionimpl.java:404) @ org.hibernate.engine.transaction.internal.jdbc.jdbctransaction.beforetransactioncommit(jdbctransaction.java:101) @ org.hibernat...

jquery - checkbox onchange firing twice -

i'm attaching onchange event on checkboxes this: $("input[type='checkbox'][name='auswahl[]']").on("change", function() { alert($(this).attr("id") + ' ' + $("label[for='" + $(this).attr("id") + "']").text() + $(this).attr("checked")); }); the checkboxes this: <input type="checkbox" name="auswahl[]" id="aus_nunatsiaqnews_ca"><label for="aus_nunatsiaqnews_ca" title="canada">nunatsiaq news</label> unfortunately event firing twice. when isolate code given above , put on test page fine , event firing once. need help. this happens when control "onclick" event nested inside control "onclick" event. clicking 1 of elements triggers events both elements since there no way of knowing of them wanted click. fortunately, can prevented in javascript. in html, pass "$event" pa...

entitymanager - Integrate BooleanExpression into SQL query -

this situation : booleanexpression = //a booleanexpression; @autowired private entitymanager em; list<tuple> result = (list<tuple>) em.createquery("select x y where" + be); what take booleanexpression , calculate "where"...any suggestion?

python - Gunicorn logstash log handler -

my log config file [loggers] keys=root, logstash [handlers] keys=console , logstash [formatters] keys=generic, access [logger_root] level=info handlers=console [logger_logstash] level=debug handlers=logstash propagate=1 qualname=logstash [handler_console] class=streamhandler formatter=generic args=(sys.stdout, ) [handler_logstash] class=logstash.tcplogstashhandler formatter=generic args=('localhost',5959) [formatter_generic] format=%(asctime)s [%(process)d] [%(levelname)s] %(message)s datefmt=%y-%m-%d %h:%m:%s class=logging.formatter [formatter_access] format=%(message)s class=logging.formatter my command execute gunicorn --env django_settings_module=myproject.settings myproject.wsgi --log-level debug --log-file=- --log-config gunicorn_log.conf i not getting error logstash not receiving access logs. handler worked django , celery helpless gunicorn based on python-logstash documentation : [handler_logstash] class=logstash.tcplogstashhandler forma...

vbscript - Compare DateDiff issue -

i need compare 2 dates find out if computer eol or eol. different kind of text depending on if eol or veol. current date 29-08-2016 ex. 1 lstrvalue = 31-12-2016 = 4 ex. 2 lstrvalue = 31-07-2016 = -1 select case datediff("m",date,cdate(lstrvalue)) case 1, 2, 3 beol = true case else bveryeol = true end select the problem in exampel if datediff either 4, 5, 6, ect bveryeol true. not i'm looking for. i'm looking bveryeol true, if datediff negativ i believe looking this, then: edit: changed code because previous not valid vbscript dim strresult : strresult = datediff("m",date,cdate(lstrvalue)) select case strresult case 1, 2, 3 beol = true case else if strresult < 0 bveryeol = true else 'add logic end if end select

Error: XML content does not seem to be XML | for R version 3.3.1 -

i want read multiple xml files , write results csv file. xml files looks below: <?xml version="1.0" encoding="utf-8"?> <testsuites time="430.819"> <testsuite name="notebook.r notebook opening anonymous user" tests="8" failures="1" errors="0" time="152.319" timestamp="2016-06-27t06:22:33.708z" package="anonymous_user/tc_52.1.1"> <testcase name="github page has been loaded" classname="anonymous_user/tc_52.1.1" time="22.002"/> <testcase name="the element shareable link exists" classname="anonymous_user/tc_52.1.1" time="32.666"/> <testcase name="logout button exists" classname="anonymous_user/tc_52.1.1" time="5.1"/> <testcase name="the element shareable link exists" classname="anonymous_user/tc_52.1.1" t...