Displaying 8 results from an estimated 8 matches for "docparse".
Did you mean:
do_parse
2004 Jun 23
0
Problem with XML package compilation on AIX
...LIBXML
-I/opt/freeware/include/libxml2
-DUSE_EXTERNAL_SUBSET=1 -DROOT_HAS_DTD_NODE=1
-DDUMP_WITH_ENCODING=1 -DUSE_XML_VERSION_H=1
-DXML_ELEMENT_ETYPE=1 -DXML_ATTRIBUTE_ATYPE=1
-DNO_XML_HASH_SCANNER_RETURN=1 -DUSE_R=1 -D_R_=1
-DHAVE_VALIDITY=1 -I. -DLIBXML2=1 -I/usr/local/include
-O -qstrict -c DocParse.c -o DocParse.o
"DocParse.c", line 113.29: 1506-280 (E) Function
argument assignment between types "const unsigned
char*" and "char*" is not allowed.
and then more of the same on other lines.
Does anyone know what I can do to get this to compile
happy and install? An...
2009 Nov 27
1
Build of XML package failed
...-26) on linux mandriva 2010.0
I tried to install the XML_2.6-0.tar.gz package both with
install.packages('XML', dep=T) from within R and the R CMD INSTALL using a
local tar.gz file.
I am having the following error message (sorry it is partly in french):
Dans le fichier inclus ? partir de DocParse.c:13:
Utils.h:175:2: attention : #warning "Redefining COPY_TO_USER_STRING to use
encoding from XML parser"
DocParse.c: In function ?notifyError?:
DocParse.c:1051: erreur: le format n'est pas une cha?ne litt?rale et pas
d'argument de format
This last error message means:
"err...
2006 Jun 24
1
Parsing XML with REXML problem
...see if its working) test..
require ''benchmark''
# factory to instantiate parser instance and parse test file
# klass: the class of parser to use
def get_parser(klass)
lambda do
parser_inst = klass.new(''newsfeed.xml'')
parser_inst.get_newsfeed
end
end
docparser = get_parser(FeedXMLParser)
iterations = 10
Benchmark.bm do |x|
x.report { for i in 1..iterations; docparser.call; end }
end
# display the results
art docparser.call
Here is a snippet of xml that i am trying to parse:
<?xml version="1.0"?>^M
<!DOCTYPE newsfeed SYSTEM &quo...
2006 Jun 26
0
DBI question. How do I load a database with data parsed from REXML?
...@newsfeed << p
end
@newsfeed
end
end
# factory to instantiate parser instance and parse test file
# klass: the class of parser to use
def get_parser(klass)
lambda do
parser_inst = klass.new(''newsfeed.xml'')
parser_inst.get_newsfeed
end
end
docparser = get_parser(FeedXMLParser)
#puts docparser.call.inspect {|x| x.each {|z| puts z}}
class ArcticleLoad
attr_reader :id, :post, :archive, :ntype, :head, :blurb, :body,
:fblurb, :fimage, :att, :source, :copy, :brand
def initialize(id, post, archive, ntype, head, blurb, body,
fblurb, fi...
2012 Mar 21
1
Trouble installing the XML package
...-DDUMP_WITH_ENCODING=1
-DUSE_XML_VERSION_H=1 -DXML_ELEMENT_ETYPE=1 -DXML_ATTRIBUTE_ATYPE=1
-DNO_XML_HASH_SCANNER_RETURN=1 -DLIBXML_NAMESPACE_HAS_CONTEXT=1
-DHAVE_XML_WITH_ZLIB=1 -DHAVE_XML_HAS_FEATURE=1 -DUSE_R=1 -D_R_=1
-DHAVE_VALIDITY=1 -DXML_REF_COUNT_NODES=1 -I. -DLIBXML2=1 -fpic
-g -O2 -c DocParse.c -o DocParse.o
In file included from DocParse.c:13:
Utils.h:230:2: warning: #warning "Redefining COPY_TO_USER_STRING to
use encoding from XML parser"
gcc -std=gnu99 -I/usr/share/R/include -DLIBXML -I/usr/include/libxml2
-DUSE_EXTERNAL_SUBSET=1 -DROOT_HAS_DTD_NODE=1 -DDUMP_WITH_ENCODING=1...
2003 Sep 09
1
Building XML package for MacOS X
...OS X. I have installed
libxml2-2.5.9 into /usr/local. I set the
LIBXML_INCDIR=/usr/local/include/libxml2. I use R INSTALL, I get the
following:
R INSTALL -c -l /usr/local/R/library XML_0.94-1.tar.gz
:
:
:
gcc -bundle -flat_namespace -undefined suppress -L/sw/lib -L/usr/local/lib
-o XML.so DocParse.o EventParse.o ExpatParse.o HTMLParse.o RSDTD.o
RUtils.o Utils.o XMLEventParse.o XMLTree.o -lz -lxml2
ld: multiple definitions of symbol _xmlParserError
Utils.o definition of _xmlParserError in section (__TEXT,__text)
/usr/local/lib/libxml2.dylib(libxml2.2.5.9.dylib-master.o) definition of
_xmlPar...
2003 Oct 09
2
building XML-0.95-1 on MacOS
...mpilation flags: -I/sw/include/gnome-xml
-I/sw/include/gnome-xml/libxml -DLIBXML -I/sw/include/gnome-xml
Link flags: -L/sw/lib -lxml -lz -lz -lxml
Compiling produced the following error:
gcc -bundle -flat_namespace -undefined suppress -L/sw/lib
-L/usr/local/lib -o XML.so DocParse.o EventParse.o ExpatParse.o
HTMLParse.o RSDTD.o RUtils.o Utils.o XMLEventParse.o XMLTree.o
-L/sw/lib -lxml -lz -lz -lxml -lcc_dynamic
ld: multiple definitions of symbol _xmlParserError
Utils.o definition of _xmlParserError in section (__TEXT,__text)
/sw/lib/libxml.dylib(error.lo) definition of _...
2012 Oct 13
0
XML_3.95-0.1.tar.gz does not build on FreeBSD
...URN=1 -DLIBXML_NAMESPACE_HAS_CONTEXT=1 -DHAVE_R_CETYPE_T=1 -DHAVE_XML_WITH_ZLIB=1 -DHAVE_XML_HAS_FEATURE=1 -DUSE_R=1 -D_R_=1 -DHAVE_VALIDITY=1 -DXML_REF_COUNT_NODES=1 -I. -DLIBXML2=1 -I/usr/local/include -fpic -O2 -pipe -O2 -fno-strict-aliasing -pipe -msse3 -Wl,-rpath=/usr/local/lib/gcc46 -c DocParse.c -o DocParse.o
In file included from DocParse.c:13:0:
Utils.h:230:2: warning: #warning "Redefining COPY_TO_USER_STRING to use encoding from XML parser" [-Wcpp]
gcc46 -std=gnu99 -I/usr/local/lib/R/include -DNDEBUG -DR_HAS_REMOVE_FINALIZERS=1 -DLIBXML -I/usr/local/include/libxml2 -I/usr/lo...