search for: xmldoc

Displaying 20 results from an estimated 55 matches for "xmldoc".

2008 Jan 19
1
Set Return Type XML in Prototype
...f i use data from direct xml file then it works fine but when i use ajax request with header content xml it''s not working My code just work on IE but in FF it does not working. My code sample are given below If any one already done this kinds of job Please help me as soon as possible. var xmlDoc; function Claulate() { var url = ''http://localhost/jibon/jlab/ajaxDirectPrototype/ calculateAjaxFunction.php''; var a = { empID: 100, amountTK: 200, third: 30 }; var pars = new Hash(a).toQueryString(); var myAjax = new Ajax.Request( url, { method: &...
2006 Mar 17
6
Updated the xml code to be more object-oriented
I changed the code to be more prototype-esque, and created a class called XMLDoc. I may add more functionality to it later, hence the more generic name, but you do something like this to convert XML to a hash: XMLDoc = Class.create(); Object.extend(XMLDoc.prototype, { initialize: function (xmlDoc) { this.element = xmlDoc; }, asHash: function () { if (! this._xml...
2010 Aug 24
2
Parsing a XML file
I have one XML file with 30MB that I need to read the data. I try this; library(XML) doc <- xmlDoc("Malaria_Grave.xml") And R answers like this *** caught segfault *** address 0x5, cause 'memory not mapped' Traceback: 1: .Call("RS_XML_createDocFromNode", node, PACKAGE = "XML") 2: xmlDoc("Malaria_Grave.xml") Possible actions: 1: abort (with co...
2012 Jan 18
1
Compile error 1.8.8.1
....o netsock2.o pbx.o plc.o poll.o privacy.o rtp_engine.o say.o sched.o security_events.o sha1.o slinfactory.o srv.o ssl.o stdtime/localtime.o strcompat.o strings.o stun.o syslog.o taskprocessor.o tcptls.o tdd.o term.o test.o threadstorage.o timing.o translate.o udptl.o ulaw.o utils.o version.o xml.o xmldoc.o editline/libedit.a db1-ast/libdb1.a -> asterisk pbx.o: In function `ast_str_substitute_variables_full': /usr/src/asterisk/asterisk-1.8.8.1/main/pbx.c:3786: undefined reference to `ast_str_expr' collect2: ld returned 1 exit status make[1]: *** [asterisk] Error 1 make: *** [main] Error...
2006 Apr 17
7
Serve static XML files how?
Hi, a Javascript in one of my Rails templates needs to load a static XML file. I tried several places to put the actual XML file, and I also tried to make the file a rails template (tried both .rhtml and .rxml) and access it via a controller action. None of these ways worked. Does the lighttpd server know how to serve XML files, or do I need to configure it first? Or, is there a good workaround?
2016 Dec 04
3
Asterisk Can't start with the default configs
...ocs, but the first time, it said, I have no doxygen installed. So I compiled the latest release and reconfigure the asterisk. And after it, ut sucessfully started to build the docs. But it took a lot of time, So finally I aborted the process... Is there a way to disable doc creating? The --disable-xmldoc is enough? Thanks! On Dec 2, 2016 3:36 PM, "Joshua Colp" <jcolp at digium.com> wrote: > On Fri, Dec 2, 2016, at 10:27 AM, Mr Dini wrote: > > Hi, > > > > I compiled the asterisk 14.0.2 to my ARMv5 NAS, however I just have > > enough > > time to test...
2008 May 13
0
MGeoRSS and IE
...sues/issues/detail?id=300). I discovered today that MGeoRSS doesn''t work in IE "out of the box". Here''s a fix: =============== MGeoRSS.prototype.callback = function() { if (this.request.readyState == 4) { if (this.request.status == "200") { var xmlDoc= null; if (!isIE) { xmlDoc = this.request.responseXML; } else { // use the IE/ActiveX XML parser xmlDoc=new ActiveXObject("Microsoft.XMLDOM"); xmlDoc.async="false" xmlDoc.load...
2016 Dec 04
2
Asterisk Can't start with the default configs
No, the disable-xmldoc doesn't disable the whole doc creating procedure. Is there a way to disable it completely? Regarding the issue... Of course, I Can open a ticket, just I don't know about what exactly. I want to compile it without doc generate to make the asterisk module loads up fine. On Dec 4, 2016 8:41...
2012 Nov 03
3
Installation Problem with asterisk 1.6
...k-1.6.2.24 in Centos 5.3, whenever i'm running following command ./configure I got below error: configure: *** XML documentation will not be available because the 'libxml2' development package is missing. configure: *** Please run the 'configure' script with the '--disable-xmldoc' parameter option configure: *** or install the 'libxml2' development package. I have installed already libxml2 in current os Please help me. Regards Akhilesh -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asteri...
2010 Aug 30
4
getNodeSet - what am I doing wrong?
Hi, Why is the following retuning a nodset of length 0: > library(XML) > test <- xmlTreeParse( > "http://www.unimod.org/xml/unimod_tables.xml",useInternalNodes=TRUE) > getNodeSet(test,"//modifications_row") Thanks for any hint. Joh
2010 Aug 10
1
DEBUG: Cannot find variable 'XXX' ??
On 1.6.2.11-rc2 I've noticed a bunch of DEBUG statements on startup, such as: == Registered custom function 'SIP_HEADER' [Aug 9 07:01:23] DEBUG[17330]: xmldoc.c:1727 xmldoc_build_field: Cannot find variable 'SIPPEER' in tree 'description' == Registered custom function 'SIPPEER' [Aug 9 07:01:23] DEBUG[17330]: xmldoc.c:1727 xmldoc_build_field: Cannot find variable 'SIPCHANINFO' in tree 'description' Maybe they...
2006 Feb 07
2
Question about Classes.
...ew Ajax.Request(''../../xml_files/session_data.xml'', {method:''get'',parameters:''time=''+Math.random()*4,onComplete: this.createArray}) }, createArray: function(response) { xmlDoc = response.responseXML; var ei = xmlDoc.getElementsByTagName(''event_info''); for(j=0;j<ei[0].childNodes.length;j++) { if (ei[0].childNodes[j].nodeType != 1) continue...
2014 Aug 15
1
virt-manager and libvirt-python
Hello! I'm trying to work with virt-manager but getting SIGTRAP signal. It is done with gdb under MinGW32 on Windows 7 64-bit. I have Python 2.7.8. 32-bit. As I can see from backtrace ( http://pastebin.com/JhN6XgYb ), there is something wrong with libvirtmod.pyd. Also I couldn't find how to solve " typelib for AppIndicator3" error. So I try to debug libvirt-python. For doing
2009 Aug 11
2
Mobimouse
...is under the mouse-pointer and immediately translates it in a pop up windows. Or at least that is how it worked with windows xp. (please do not suggest using stardict because they are not comparable) When I tried to execute the program with wine I got the following error message from wine: "cXMLDOC::_SelectAndCreateNode: root node selection failed (0x0) [.\XMLDoc.cpp (286)]" and the application was aborted. Could sy tell me what went wrong? and of course what to do? Thx in advance! PS: The wine version I currently have is: 1.1.27
2008 Mar 25
4
SAXXMLReader
...ored) ../../tools/makedep -C. -S../.. -T../.. -I/usr/include/libxml2 -I/usr/include/libxml2 attribute.c cdata.c comment.c docfrag.c domdoc.c domimpl.c element.c entityref.c factory.c main.c node.c nodelist.c nodemap.c parseerror.c pi.c queryresult.c regsvr.c saxreader.c schema.c text.c uuid.c xmldoc.c xmlelem.c version.rc libxml/SAX2.h: No such file or directory libxml/SAX2.h was first included from saxreader.c:41 make[2]: *** [depend] Error 1 make[2]: Leaving directory `/home/bill/wine-git/dlls/msxml3' make[1]: *** [msxml3/__depend__] Error 2 make[1]: Leaving directory `/home/bill/win...
2010 May 26
1
Jack in /usr/local/ means failure for asterisk
...at pbx3:/etc$ strings ld.so.cache | grep jack libjackserver.so.0 /usr/local/lib64/libjackserver.so.0 libjackserver.so /usr/local/lib64/libjackserver.so libjack.so.0 /usr/local/lib64/libjack.so.0 libjack.so /usr/local/lib64/libjack.so So... When I run in asterisk source dir: ./configure --disable-xmldoc, output has this line: checking for jack/jack.h... yes however, make menuselect shows XXX app_jack System information: motiejus at pbx3:/usr/src/asterisk-1.6.2.7$ uname -a Linux pbx3 2.6.18.8-xenU #2 SMP Thu Apr 29 15:55:34 EEST 2010 x86_64 GNU/Linux motiejus at pbx3:/usr/src/asterisk-1.6.2.7$ cat...
2008 Jun 25
0
Memory allocation failed: Copying Node
...(filename) { quotes <- c("&\r\nquot;", "&q\r\nuot;","&qu\r\not;","&quo\r\nt;","&quot\r\n;") amp <- c("&\r\namp;", "&a\r\nmp;","&am\r\np;","&amp\r\n;") xmlDoc<-NULL charStream <- readChar(filename, file.info(filename)$size) charStreamNew <- gsubfn("<[^>]*>", ~ gsub("[\r\n]", "", x), charStream) for(k in quotes) { if(length(grep(k, charStreamNew)) > 0) { charStreamNe...
2010 Apr 23
1
asterisk running @ 100% load doing nothing
...ts? What can I provide you guys to help me out? Here are some log outputs: (nothing weird) --------- /etc/asterisk/logger.conf -------- [logfiles] debug => debug console => notice,warning,error messages => notice,warning,error --------- debug -------------- [Apr 22 17:50:48] DEBUG[2550] xmldoc.c: Cannot find variable 'SIPPEER' in tree 'description' [Apr 22 17:50:48] DEBUG[2550] xmldoc.c: Cannot find variable 'SIPCHANINFO' in tree 'description' -------- message ------------- [Apr 22 17:50:48] NOTICE[2550] cdr.c: CDR simple logging enabled. [Apr 22 17:50:48...
2010 Jun 23
2
"Hidden" memory leak
...bytes in 281 allocations in file 'asterisk.c' 22413 bytes in 285 allocations in file 'config.c' 2077300 bytes in 32793 allocations in file 'chan_iax2.c' 212 bytes in 3 allocations in file 'netsock.c' 45309 bytes in 539 allocations in file 'xmldoc.c' 99512 bytes in 239 allocations in file 'app_queue.c' 23080 bytes ( 23080 cache) in 73 allocations in file 'frame.c' 3308 bytes in 139 allocations in file 'pbx_config.c' 379223 bytes in 1940 allocations in file 'pbx.c' 434640 by...
2011 Mar 07
1
[1.8.3] Error compiling Asterisk: __sync_fetch_and_add
....o netsock2.o pbx.o plc.o poll.o privacy.o rtp_engine.o say.o sched.o security_events.o sha1.o slinfactory.o srv.o ssl.o stdtime/localtime.o strcompat.o strings.o stun.o syslog.o taskprocessor.o tcptls.o tdd.o term.o test.o threadstorage.o timing.o translate.o udptl.o ulaw.o utils.o version.o xml.o xmldoc.o editline/libedit.a db1-ast/libdb1.a -> asterisk astobj2.o: In function `ast_atomic_fetchadd_int': /usr/src/asterisk-1.8.3/include/asterisk/lock.h:589: undefined reference to `__sync_fetch_and_add_4' /usr/src/asterisk-1.8.3/include/asterisk/lock.h:589: undefined reference to `__sync_fe...