Posts

Showing posts from January, 2015

javascript - Why no error when accessing a DOM element that doesn't exist? -

Image
i have divs partial views in them. why reference div doesn't exist not show kind of error? example, have 1 taskn div right now: <div id="task1"> @html.partial("~/views/partialviews/taskdoscommand.cshtml") </div> this jquery show div: $('#task' + task.prestotasktype).show(); when task.prestotasktype 1, task1 div correctly displays. however, when task.prestotasktype 1, 2, nothing displays (which good), there no error; no error shows on web page, , nothing displays in chrome developer tools console: shouldn't kind of error display when accessing dom element doesn't exist? no, because jquery .show() all elements jquery object wraps . if that's no elements @ all, it. that's precisely monad-like aspect of jquery makes useful: imagine code 'd have write if things didn't work way: var $whatever = $(...); if ($whatever.length) $.dosomething(); this worse: need introduce variable (in order a

java - Entity hierarchies in Objectify 4.0 -

is there way how define entity hierarchy enables query particular subclass? consider situation below. let's have abstract base class defines common properties , concrete subclasses , b. class abstract base { ... } class extends base { ... } class b extends base { ... } i run example queries follows. to retrieve entities of type , b base base = this.objectify.load().type(base.class).list(); to retrieve entities of type a base base = this.objectify.load().type(a.class).list(); to retrieve entities of type b base base = this.objectify.load().type(b.class).list(); furthermore, store such entities single type (base entity) in gae datastore. we tried use polymorphic hierarchy of related entity classes described here: https://code.google.com/p/objectify-appengine/wiki/entities#polymorphism but seems not capable of handling situation there multiple entity subclasses common parent. i don't think base can abstract, should work: @entity class b

javascript - Incompatibility between GM_xmlhttpRequest and jQuery in Firefox but not with Chrome -

Image
i'm facing strange problem. i need use gm_xmlhttprequest() function request , parse pages outside of site. i need use colorbox imported , custom in script. // ==userscript== // @name test // @namespace test // @description test // @include http://stackoverflow.com* // @require http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js // @version 1 // ==/userscript== //import colorbox. if (!$.colorbox) { (function(e,t,n){function g(n,r,i){var o=t.createelement(n);return r&&(o.id=s+r),i&&(o.style.csstext=i),e(o)}function y(e){var t=t.length,n=(u+e)%t;return n<0?t+n:n}function z(e,t){return math.round((/%/.test(e)?(t==="x"?tt():nt())/100:1)*parseint(e,10))}function et(e){return b.photo||/\.(gif|png|jp(e|g|eg)|bmp|ico)((#|\?).*)?$/i.test(e)}function tt(){return n.innerwidth||n.width()}function nt(){return n.innerheight||n.height()}function rt(){var t,n=e.data(r,i);n==null?(b=e.extend({},r),console&&console

forms - Submit Google Custom Search with Jquery -

im using google custom search , submit form using own div jquery. tried many things no luck, 1 of them: the google code: <script> (function() { var cx = 'partner-pub-2789521296837340:9402765321'; var gcse = document.createelement('script'); gcse.type = 'text/javascript'; gcse.async = true; gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//www.google.com/cse/cse.js?cx=' + cx; var s = document.getelementsbytagname('script')[0]; s.parentnode.insertbefore(gcse, s); })(); </script> <gcse:search></gcse:search> the jquery part: $( document ).ready(function() { $( "div.button" ).click(function() { $( "form.gsc-search-box" ).submit(); return false; }); }); live example: jsfiddle we cannot submit form (i.e., google created internally using jquery) directly. have change code change , feel.

ruby - Blog and Static Pages in Rails 4 -

i add static pages existing rails 4.0 app. these page such about, contact , this: examble.com/about also, want add blog engine publish news: the first type static , won't change. however, second type news, i'd add posts using form admins can add posts easily. i looked different gems example jekyll not allow add posts using form if want add have write codes , create files. so suggestions please? regards, one thing can set separate blog server (let's using wordpress) , point dns blog.example.com ip address of blog server. then can give individual users accounts on blog, can upload content. i suggest using existing blog engine such wordpress (there several others) because out of box include bunch of stuff image uploading, tagging, comments, antispam, , seo optimizations pretty permalinks. wouldn't rebuild scratch. if want blog reside @ www.example.com/blog, there bit of trick configure web server serve content 2 different servers, that's no

c# - SQLite and Entity Framework configuration -

im trying set sqlite database layer tests , im not getting how config file should written (wasnt able find documentation this). seems duplicate configuration on file, people write db factories entityframework section, in system.data section. this current configuration file: <?xml version="1.0" encoding="utf-8"?> <configuration> <configsections> <!-- more information on entity framework configuration, visit http://go.microsoft.com/fwlink/?linkid=237468 --> <section name="entityframework" type="system.data.entity.internal.configfile.entityframeworksection, entityframework, version=5.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089" requirepermission="false" /> </configsections> <connectionstrings> <add name="swechancontext" connectionstring="data source=:memory:; new=true; version=3" providername="system.data.sqlite" /> </co

c# - How to use DotConnect For PostgreSQL and entity framework code first -

i trying use postgresql database in project. learn code first developement.. download dotconnect postgresql (trial version) , added devart.data.postgresql dll references. then, added lines in app.copnfig <connectionstrings> <add name="schooldbconnectionstring" connectionstring="server=localhost;port = 5432;database=mydatabase;user id=postgres;password=*****" providername="devart.data.postgresql" /> </connectionstrings> <system.data> <dbproviderfactories> <remove invariant="devart.data.postgresql" /> <add name="dotconnect postgresql" invariant="devart.data.postgresql" description="devart dotconnect postgresql" type="devart.data.postgresql.pgsqlproviderfactory, devart.data.postgresql, version= 6.8.333.0, culture=neutral, publickeytoken=09af7300eec23701" /> </dbproviderfactories> </system.data> </configuratio

android - Old activity context show in background of DialogActivity instead of HomeScreen -

i have set broadcast receiver starts new dialogactivity . problem faced whenever broadcastreceiver receives broadcast, dialogactivity shown in background instead of homescreen, activity have registered receiver shown , on dialogactivity shown. following code : @override public void onreceive(context arg0, intent i) { intent i1 = new intent(arg0,alarmdialog.class); i1.addflags(intent.flag_activity_new_task); arg0.startactivity(i1); //this leads background old activity have registered broadcast } also if context starting dialogactivity i.e arg0 here finished app force closes dialogactivity requires context. ideally, broadcast receivers should not show dialogues. should show notification, when click on can take display activity dialog. however, if you'd show dialog without activity there's description here .

PHP MYSQL Date Range Search with Jquery Datepicker -

i've tried few different solutions problem can't seem find 1 works. trying search date range datetime field in mysql database. here's jquery before form: <script type="text/javascript" language="javascript"> jquery(function() { jquery( "#from" ).datepicker({ defaultdate: "+1w", changemonth: true, numberofmonths: 1, dateformat: "yy-mm-dd", onclose: function( selecteddate ) { $( "#to" ).datepicker( "option", "mindate", selecteddate ); } }); jquery( "#to" ).datepicker({ defaultdate: "+1w", changemonth: true, numberofmonths: 1, dateformat: "yy-mm-dd", onclose: function( selecteddate

actionscript 3 - saving path to xml node to avoid searching later -

i trying use xml in flash as3. var record:xml = <person name="peter(grandfather)" age=54> <person name = "john(son1)" age = 28 > <person name = "bran(grandson1)" age = 2 /> </person> <person name = "rob(son2)" age = 25 > <person name = "lancel(grandson2)" age = 3 /> </person> <person> this xml list dynamically updated. , each new person added dynamically, movie-clip person's name created , added stage. when movie-clip clicked want person's age increased 1. a method comes mind save person's name in movie clip. like ... record.person.addchild(newperson); var newclip:movieclip = new movieclip; newclip.name = newperson.@name ... <newclip mouse click event> record..*.(@name==newclip.name).@age += 1; .... the thing don't method requires @name == newclip.name comparision; guess requires name matching every node

Taking CSS code out of a JSP file -

friends in jsp have following code format <%@page iselignored="false" trimdirectivewhitespaces="true" contenttype="text/html;charset=utf-8"%> <%@ taglib prefix="bs" tagdir="/web-inf/tags"%> <%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%> <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%> <bs:main title="status"> <bs:content> <bs:infoline /> <div class="menubar"> <bs:menu /> </bs:content> </bs:main> <script type="text/javascript"> $( document ).ready(function() { $('.save,.close&#

Increase security in tell-a-friend PHP script -

good day masters. i'm looking increase spam security of old tell-a-friend php script i'm using. last week victim of spam bot use 60 times in less minute overloading server. question is, how can modify in easiest or simplest way, maybe saving ip or cookie, not sure, same user can't use more 3 times in less minute example or if have better suggestion, more welcome ;] this html page loads script: (html outdated too, i'm working on it) <html> <head> <title>tell friend</title> <meta name="robots" content="noindex, nofollow" /> <script language="javascript"> function reset() { document.tellafriend.name.value=""; document.tellafriend.email.value=""; document.tellafriend.fmail1.value=""; document.tellafriend.fmail2.value=""; document.tellafriend.fmail3.value=""; } function validate() {

ruby on rails - What is the best way to check if an attribute exists and is set? -

i have common view lists 2 different models. difference when setting link_to action, 1 of models has link attribute , other doesn't. want check if link attribute exists, , if does, check if it's set. have following works, wondering if there better way. %li - if @element.has_attribute?("link") && @element.link = link_to @element.title, @element.link - else = link_to @element.title, @element you use presence : = link_to @element.title, (@element.link.presence || @element) or, if @element might not have link @ all, use try : = link_to @element.title, (@element.try(:link) || @element)

objective c - In iOS 7, how do I change the color of the options in my UIActionSheet? -

i use green "action color" throughout app, , want options in uiactionsheets green well, consistency. how can change colour of uiactionsheet options green blue? utilize willpresentactionsheet delegate method of uiactionsheet change action sheet button color. - (void)willpresentactionsheet:(uiactionsheet *)actionsheet { (uiview *subview in actionsheet.subviews) { if ([subview iskindofclass:[uibutton class]]) { uibutton *button = (uibutton *)subview; button.titlelabel.textcolor = [uicolor greencolor]; } } }

html - Content beneath absolute positioned CSS3 Tab Bar -

i'm working on tab bar made css3 (and want avoid javascript/jquery). found nice tutorial , modified source code needs. unfortunately content beneath tab bar placed in background of "tab-content"-ids since positioned in absolute mode. want e.g. footer appear beneath tab-bar-content variable height , not behind it. tried change positioning parameters result "tab-content" flow under single tab1/2/3/4-labels. here style sheet : .tabs input[type=radio] { position: absolute; top: -9999px; left: -9999px; } .tabs { width: 960px; float: none; list-style: none; position: relative; padding: 0; margin-top:30px; font-size:14px; } .tabs li { float: left; } .tabs label { display: block; padding: 10px 20px; cursor: pointer; position: relative; -webkit-transition: 0.2s ease-in-out; -moz-transition: 0.2s ease-in-out; -o-transition: 0.2s ease-in-out; transition: 0.2s ease-in-out; color: #aa

java - How to create RCP project without a workspace and other Eclipse default features? -

how create rcp project without workspace , other eclipse default features? each time create eclipse rcp project, runs in separate workspace, shows package explorer @ left, allows create projects , on. is possible create standalone applications xmind, open files of types , contain views of types? update for example, there zest sample inside eclipse help. intended run under eclipse, contains main: /******************************************************************************* * copyright 2005-2007, chisel group, university of victoria, victoria, bc, * canada. rights reserved. program , accompanying materials * made available under terms of eclipse public license v1.0 * accompanies distribution, , available @ * http://www.eclipse.org/legal/epl-v10.html * * contributors: chisel group, university of victoria ******************************************************************************/ package org.eclipse.zest.examples.swt; import org.eclipse.zest.core.wi

class - Xcode not parsing my #import classes -

Image
suddenly, xcode stopped recognizing class "notification," , saying have replace notification nsnotification. had working few minutes ago, , can't compile app. solved this. it turns out that, don't know why, in notification.h importing class in problem appearing. example: class had import class b, , class b had import class a.

html - Horizontal DIV image container -

i'm trying images align horizontally seem doing wrong have no clue problem is. here's jsfiddle: http://jsfiddle.net/bydaa/4/ here's css: .imgcontainer img { display:inline-block; position:relative; padding:1px; border: 1px solid #c4c4c4; margin:0px 37px 0px 0px; width:175px; height:175px; } you should wrap each img , p div , use float:left . example: fiddle

bit manipulation - JavaScript: convert a 52-bit integer to 20-bit and 32-bit integers -

in other languages can represent 64-bit integers, possible easily... how store 64 bit integer in 2 32 bit integers , convert again how store 64 bit integer in 2 32 bit integers in ruby // convert 64-bit n 2 32-bit x , y x = (n & 0xffffffff00000000) >> 32 y = n & 0xffffffff but javascript can not represent 64-bit integers. can represent 52-bit integers without problems. now means not possible convert 64-bit integer 2 32 bit integers, because it not possible have 64-bit integer in first place. but still, have 52 bits remaining. question is: how can split 52-bit integer in javascript in 2 32-bit integers (20 high bits , 32 low bits) can suggest bit manipulation code above 20-bit , 32-bit split in javascript? related: how 32 bit javascript numbers resulting bit-wise operation converted 64 bit numbers before start first of all, link contains minor inaccuracy in stating "any whole number less 2 52 [...] safely fit in javascript number.

python - Why am I getting the return value of None and what does it mean? -

i no understand well, result: "none". trying start elimination (gauss) code, receive result: "none". from numpy import * a= array([[1,0],[0,2]]) b= array([1,4]) def gauss(a,b): n=len(b) k=0 while k in range (0, n-1): i=k+1 while in range ((k+1),(n)): a[i,k]=a[i,k]/a[k,k] j=k+1 while j in range ((k+1),(n)): a[i,j]=a[i,j]-a[i,k]*a[i,k] j=j+1 b[i]=b[i]-a[i,k]*b[k] i=i+1 k=k+1 return return b print gauss(a,b) by default, functions in python return none if there no return statement, or not return value. in case, add return a, b end of function. result gauss(a, b) return tuple (a, b) newly computed values. from numpy import * a= array([[1,0],[0,2]]) b= array([1,4]) def gauss(a,b): n=len(b) k=0 while k in range (0, n-1): i=k+1 while in range ((k+1),(n)): a[i,k]=a[

php - PDO Cannot Connect to Remote MySQL -

i've setup load balancer, has 3 public servers serving users. here's have problem... site uses pdo connect database, mysql server on 1 single remote server them connect , doesn't seem work. here's error get: "fatal error: uncaught exception 'pdoexception' message 'could not find driver' in /var/www/pingrglobe.com/backend/database.php:8 stack trace: #0 /var/www/pingrglobe.com/backend/database.php(8): pdo->__construct('mysql:host=162....', 'root', 'nope') #1 /var/www/pingrglobe.com/structure/header.php(4): require('/var/www/pingrg...') #2 /var/www/pingrglobe.com/index.php(2): require('/var/www/pingrg...') #3 {main} thrown in /var/www/pingrglobe.com/backend/database.php on line 8" here's code: $host = "162.243.135.167"; $user = "root"; $pass = "nope;)"; $dbname = "pingrglobe"; $db = new pdo("mysql:host=".$host.";port=3306;dbname=".$db

c++ - How to correctly implement a script parsers exception handling -

i'm having little bit of design problem scripting language i'm creating c++ game engine. i'm trying have object named sscript call method load necessary files, , check script file's suffix. have base class called smessage class named serrormessage derives from. here's example code illustrate want do: sscript::sscript(const std::string& filepath) { if (load(filepath) == serror(serror::error_codes::error_custom)) { } } smessage& sscript::load(const std::string& filepath) { } here's header file serror: class serror : public smessage { public: enum class error_codes { error_custom = 1, error_loading_script = 2, error_script_incorrect_suffix = 3, }; serror(error_codes errorcode); serror(error_codes errorcode, const std::string& contents); virtual void message(const std::string& contents); inline bool operator=(const error_codes errorcode) { } private: ser

c++ - C++14 combining generic lambdas and variable templates -

i know generic lambdas , , know variable templates, but, do? allowed? template<typename t> auto f = [](auto a, t b){ /**/ }; if it's allowed, can used expected? is, f<type>(var_a, var_b) ? a variable template must declared constexpr . lambda cannot occur in constant-expression , initialisation not allowed, , operator() not declared constexpr , calling isn't allowed. in summary, ill-formed in current c++14 draft. note: curiously, though lambda-expression cannot occur in constant-expression , seems closure type of lambda may have constexpr copy/move constructor.

java - Error when trying to parse ending date -

okay i'm struggling understand i'd in situation. have current date specified gets date specific action performed, , need specifify finish date, method know when finish processing. public void process() { currentdate = getcurrentdate(); string datestart = lotterystart; string datestop = getcurrentdate().tostring(); simpledateformat format = new simpledateformat("dd/mm/yyyy hh:mm"); date d1 = null; date d2 = null; try { d1 = format.parse(datestart); d2 = format.parse(datestop); datetime dt1 = new datetime(d1); //datetime dt2 = dt1.plusminutes(10); datetime dt2 = new datetime(d2); sendmessage(integer.tostring(minutes.minutesbetween(dt1, dt2).getminutes() % 60)); if (dt2 == dt1.plusminutes(1)) { //sendmessage(integer.tostring(minutes.minutesbetween(dt1, dt2).getminutes() % 60)); //if (minutes.minutesbetween(dt1, dt2).getminutes() % 60 == 500) { durationreached = true; } } catch (exception e) {

python - numpy array slicing, why sometimes 2-d array and sometimes 1-d array -

my question array slicing in numpy. what's logic following behavior? x = arange(25) x.shape = (5, 5) # results in 2-d array in rows , columns excerpted x y = x[0:2, 0:2] # results in 1-d array y2 = x[0:2, 0] i have expected y2 2-d array contains values in rows 0 , 1, column 0. this follows standard python conventions. @ results of these analogous expressions: >>> = [0, 1, 2, 3, 4, 5] >>> a[4] 4 >>> a[4:5] [4] as can see, 1 returns one item , while other returns a list containing 1 item . way python works, , numpy following convention, @ higher dimension. whenever pass slice rather individual item, list returned; true if there no items in list, either because end index low, or because starting index high: >>> a[4:4] [] >>> a[6:6] [] so in situations, passing slice means "return sequence (along given dimension)," while passing integer means "return single item (along given dimension)."

Text to Sign Language translation in Android -

does knows of android text sign language framework can use develop android apps learn basic sign language? apps allow users input text or audio (using speech text api) translate text sign language corresponding text entered. this should give start: text speech android

Why can't Console.WriteLine determine my type? in F# -

here's code: open system let places = [ ("grandchester", 552); ("cambridge", 117900); ("prague", 1188126); ] let statusbypopulation = function | n when n > 1000000 -> "city" | n when n > 50000 -> "town" | _ -> "village" system.console.writeline ( places |> list.map (fun (_, population) -> statusbypopulation population)) let print x = console.writeline (list.map (fun (_, population) -> statusbypopulation population) x) // i'm trying let (x:(string * int) list) = list.map (fun (_, population) -> statusbypopulation population) x; // checking kinf of type returns let print: (string * int) list -> unit = console.writeline << list.map (fun (_, population) -> statusbypopulation population) // i'm not allowed system.console.r

c# - Monogame XAML Reset CoreWindow? -

heey, i got problem. i'm running through last tests had finishing game bumped problem. whenever initialize game while holding game in portrait game swaps landscape window.current.corewindow won't update. xaml template creates window based on portrait settings instead of landscape settings. how can change corewindow or update before entire game gets initialized? after research tried reproducing game armed! know uses xaml template , there found problem when opened in portrait window wouldn't update when moving landscape being stuck broken interface/game. thanks in advance. corewindow won't refresh on own. it'll refresh inside update(). if want handle changes corewindow before hit initializing part need handle them yourself. _corewindow = window.current.corewindow; // create game. _game = xamlgame<main>.create("", _corewindow, this); _corewindow.activate(); _corewindow.dispatcher.processevents(coreprocesseventsoption.processalli

java - String modifications assistance -

i've spend day working on these 2 classes. i've come further expecting yet needless i'm running issues. basically have take inputted string , return uppercase letters, every second letter, entire string vowels exchanged underscore, number of vowels in string, , lastly positions of vowels in string. i designed tester class, believe correctly, have menu try each command separately i'm able test each one. this tester class.. //****************************************** // lettertest.java // written sanchez // 2013 //******************************************* //=========================================== // program tests charapi class. //=========================================== import java.util.scanner; public class lettertest { public static void main(string[] args){ //create scanner user input scanner in = new scanner(system.in); //get user input system.out.println("please enter string of letters"); string input

html - Image links not working in footer -

http://www.artwars.net please take @ footer logos 2 of logos links bedpr , stormtrooper aren't working. it better view code through browser me paste it. appreciate help. ant your markup messy: <div id="logo118" <a href="http://www.bedpr.com/"><img src="http://www.artwars.net/wp-content/themes/artwars2/images/bedpr.jpg" width="145" height="40"></div> that's no valid html. should close starting div tag. think forgot ">". edit: take @ div's: swarowski logo's div missing float:left; //so add there. also has margin-left:360px; instead of left:360px; //this should not force design problems, improve layout now, have adjust logo113 , logo115. this: top:-20px; //instead of -50px should work now.

c# - Rewrite a method of a .Net DLL -

i have old .net dll have lost source code , wanted see if change behavior. it has method takes in string , returns string. i want rewrite method such can return startstr + " test"; i tried .net reflector project produced has bunch of strange errors cannot recompile it. i tried reflexil, offers assembly level changes. is there way rewrite method in c# , have dll use method instead? reflexil should able handle - need switch il view in reflector , can go method want change, pull reflexil , make changes. avoids problems decompiling assembly source code (which never worked me without errors in reflector). if want append string string variable, can like: // assuming original string on stack ldstr " test" call system.string system.string::concat ( system.string, system.string ) this create new string on stack test appended it. once you're done editing, can save assembly disk. if need more complicated (like appending string returned fun

c - Creating a File of Random Size [1...500] KB -

foreword: have simplified problem key functionalities, if sounds weird because small aspect of whole program. problem: i want create 100 text files: i'll loop , use loop counter name files. then, want populate each file random strings. use string struck defined below this. want fill file [1kb 500kb]. struct string // , yes using own string library. { char *c; int length; int maxlength; } lets assume have file opened (probably @ moment create it, empty). check this. int range = random.range(0,500); i number predetermine file size. if range == 100 file populated 100kb of "data". i first have string created. // maybe making 100 chars help? string *s1 = makestring("abcdefghijklmnopqrstuvwxyz"); how figure out how many times have write string s1 file make size of range ? preferably before writing file, wouldn't want write first check, write again. and how random integer value in c? used random.range in c#. to keep si

Code Metric Tools for Haskell -

is there tool measuring code metrics loc(line of code), number of functions , average size of functions haskell programs? ohcount , tool used ohloh , @ least knows how tell haskell comment lines haskell code lines apart, can see example in statistics ghc .

python - Loadfile, specific lines from .txt file into array -

i have .txt file , need open , create array (in python). however, not want select lines array, first line. for example, .txt file reads: 1 1 1 1 4 6 4 5 6 8 9 7 and, create array such that, can assign like: y= array([[1, 4, 6], [4, 5, 6], [8, 9, 7]]) i need generalize future files create array omits first line of text. you do with open(file) f: y = [map(int, line.split()) line in f.readlines()[1:]] notice [1:] grabs other lines except first one.

php - Sending a file to a webservice with XML using cURL corrupts it -

so have code sends career application webservice emails file hr department attachment along other elements in form. of parts except file gets emailed desired. file gets uploaded server without being corrupted. resulting email attachment ends being corrupted. the problem is; file ends abruptly before reaching eof. let's pdf file when open both original , reduced size file in text editor see beginnings identical until 1 of them ends. 1 of them 1mb , corrupt 1 600kb. i have tried sending files smaller(4kb) resulting corrupt file file gets corrupt in same way. resulting file 1kb. the xml response says: <?xml version="1.0" encoding="utf-8"?><sendemlrsp><rtcd>1</rtcd><exp>ok</exp><rsp_list><rsp><msgid>0</msgid><eid /><result>invalid length base-64 char array or string.</result></rsp></rsp_list></sendemlrsp> it part of interest: <result>invalid length