search for: xmlparsedoc

Displaying 8 results from an estimated 8 matches for "xmlparsedoc".

2012 Nov 16
1
xmlParseDoc parser errors
Hi, I have some XML files that have a processing instruction directly after the XML declaration when I do kgroup.reading <- character(0) for (file in file_list){kgroup.reading <- xmlParseDoc(file.path("c:","projects","respositories","dk","004",file))} I get the error file name :1: parser error : Start tag expected, '<' not found When I remove the processing instruction and try to load it again I do not get the parser error....
2015 Apr 11
1
XML Parser failing due to cryptic Serial Number.
...in __init__     self._parse(parsexml, parsexmlnode)   File "/usr/share/virt-manager/virtinst/xmlbuilder.py", line 692, in _parse     doc = libxml2.parseDoc(xml)   File "/usr/lib/python2.7/site-packages/libxml2.py", line 1327, in parseDoc     if ret is None:raise parserError('xmlParseDoc() failed') libxml2.parserError: xmlParseDoc() failed [Sun, 12 Apr 2015 06:06:16 virt-manager 4241] DEBUG (create:165) Showing new vm wizard [Sun, 12 Apr 2015 06:06:16 virt-manager 4241] DEBUG (create:892) Guest type set to os_type=hvm, arch=x86_64, dom_type=kvm [Sun, 12 Apr 2015 06:06:16 virt-m...
2011 Oct 10
1
Text Mining with Facebook Reviews (XML and FQL)
...haracter(0) Qword <- URLencode('#IBM') QUERY <- paste('SELECT review_id, message, rating from review where message LIKE %',Qword,'%',sep='') Facebook_url = paste('https://api.facebook.com/method/fql.query?query= ',QUERY,sep='') mydata.xml <- xmlParseDoc(Facebook_url, asText=F) mydata.vector <- xpathSApply(mydata.xml, '//s:entry/s:title', xmlValue, namespaces =c('s'='http://www.w3.org/2005/Atom')) The mydata.xml is NULL therefore no further step can be execute. I am not so familiar with XML or FQL. Any suggestion will be...
2012 May 31
2
Add another one: the same sealert problem
...folks recently posted this, but it's hit us, also: $ sealert -l d1655210-f43c-4737-98dc-86b6aac82bb6 Entity: line 53: parser error : Input is not proper UTF-8, indicate encoding ! Bytes: 0x99 0x3C 0x2F 0x74 <tpath>`</tpath> ^ failed to connect to server: xmlParseDoc() failed I tried reinstalling sealert-server, but no joy. I can't really reboot this server on a blind hope that doing so would fix it. Anyone have a clue for a way to solve this? mark
2012 Oct 15
1
How to read XML in UTF-8 format?
How to read xml in UTF-8 format. I have one XML file but i want to read it in UTF-8 format. How this is possible? <barplot> <cd> <name>?</name> <value1>3</value1> <value2>2.9</value2> </cd> <cd> <name>?</name>
2012 May 28
0
Another odd SELinux message
...lert -l b9c81815-0139-45f7-ae92-4f77dd21a6e7 sealert -l b9c81815-0139-45f7-ae92-4f77dd21a6e7 Entity: line 70: parser error : Input is not proper UTF-8, indicate encoding ! Bytes: 0x80 0x3C 0x2F 0x74 <tpath>D&#65533;</tpath> ^ failed to connect to server: xmlParseDoc() failed I am also seeing a lot of these sorts of messages on the same server: May 28 10:49:26 inet09 setroubleshoot: SELinux is preventing /bin/ps from getattr access on the directory /proc/<pid>. For complete SELinux messages. run sealert -l 14393839-4be4-448f-9c29-34b7a5d53b9d May 28 10:...
2014 Jan 19
1
How to configure MacVtap passthrough mode to SR-IOV VF?
...figure macvtap_passthrough for a VNIC of a VM, the virt-manager told : "Can't get vf 0, no such a device". When I try from virt-manager: add hardware--->network--->host device (macvtap_passthrough:pass_through network), I got error like : "Error adding device: xmlParseDoc() failed". I guess I can not write like this " <interface dev=’vf0’ />" in the xml. I try to change as below, but the result is same. ============================ <network> <name>macvtap_passthrough’</name>...
2011 Aug 26
1
gem installation issues
...NT) from extconf.rb:45 2) gem install ruby-xslt Temporarily enhancing PATH to include DevKit... Building native extensions. This could take a while... ERROR:Error installing ruby-xslt:ERROR:Failed to build gem native xtension. C:/RailsInstaller/Ruby1.8.7/bin/ruby.exe extconf.rb checking for xmlParseDoc() in -lxml2... no checking for xsltParseStylesheetFile() in -lxslt... no checking for exsltRegisterAll() in -lexslt... no *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may n...