similar to: Recovering in Ruby-libxml parser from invalid UTF8 code

Displaying 20 results from an estimated 10000 matches similar to: "Recovering in Ruby-libxml parser from invalid UTF8 code"

2009 Jun 02
9
XML::LibXML::Reader
is there anybody who knows how we can get child values using libxml (Reader class) def xml_import_to_brands require''xml'' reader = XML::Reader.file(''c:/brands.xml'') . . .
2009 Dec 08
3
invalid pointer in libxml xmlFreeNodeList
Hi, Not sure if there is a better place to post this. The libxml-ruby mailing list doesn''t have much activity. We are getting occasional errors on our production box, that I can''t duplicate in testing. It''s not even reproducible on the production box with the same inputs, but I''ve managed to track down (via a lot of print statements into the Apache
2009 Sep 04
3
libxml-ruby: How to handle XML::Parser::ParseError?
Code: require "rubygems" require "xml" class TaskLoader class BadXML < RuntimeError end def load_tasks doc = XML::Parser.file( "qq.xml" ).parse # ... work with document ... rescue XML::Parser::ParseError, BadXML # this is line #40 # ... end end # TaskLoader p TaskLoader.new.load_tasks # this is line #71 Output: read_xml.rb:40:in
2008 Oct 20
3
LIBXML and LibXSLT
Hi, I installed libxml-ruby and libxslt-ruby. It took a while but it''s running now. However, on the libxml site (http://libxml.rubyforge.org/install.xml) it says: "...libxml requires a few other libraries to be installed in order to build and function properly. * libm (math routines: very standard) * libz (zlib) * libiconv * libxml2 ..." And
2004 Aug 06
2
libxml error (or am I just being dumb?)
I've been trying to compile ices and icecast all night. I have narrowed the problem down to libxml. I have tried several rpms of libxml2 and libxml2-devel all to no avail. I don't expect support on this alpha release but just a reply to say that it's a common issue or wether I am just a dunce would be nice. :) Thanks Hans The follwing are installed by RPM: libxml2-2.4.23-1
2004 Aug 06
4
libxml problem
I have installed libxml2-2.4.11-1.i686.rpm libxml2-devel-2.4.11-1.i686.rpm And when i compile ice checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking
2004 Aug 06
2
XML parser for icecast2
Hi: I just checked out icecast2 from the bitkeeper repository. But the compiler is halting on src/config.c where it's trying to include gnome-xml/xmlmemory.h and gnome-xml/parser.h. Can someone tell me which lib I need for these files? Thanks, Geoff. --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this
2010 Aug 05
7
Search large XML file -- REXML slower than a slug, regex instantaneous
Got a question hopefully someone can answer - I am working on functionality to match on certain nodes of a largish (65mb) xml file. I implemented this with REXML and was 2 minutes and counting before I killed the process. After this, I just opened the console and loaded the file into a string and did a regex search for my data -- the result was almost instantaneous. The question is, if I can get
2010 Jul 15
1
libxml: uninitialized constant
Hi all! I try to use libxml-ruby with my ROR-application and get the following error message: "uninitialized constant AdminController::XML". From controller file: require ''rubygems'' require ''xml/libxml'' ... parser = XML::Parser.new And the same code in irb work correctly: irb(main):001:0> require ''rubygems'' => true
2004 Aug 06
1
libxml problem
I get this error when starting ices. You have no libxml support. The config file you just specified cannot be used. Ices Exiting... I have installed the libxml support. Johan Ardlin Teknisk Utveckling Wineasy AB, Dalénum, Hus 112, SE-181 70 Lidingö Phone: +46 8 563 110 00 Direct: +46 8 563 110 79 Cell: +46 701 880 079 Fax: +46 8 563 110 10 j.ardlin@wineasy.se --- >8 ---- List archives:
2019 May 01
3
Fix builds on MacOS Mojave [patch]
Hi! I get build failures on Macos 10.14 Mojave. How-to-repeat: $ git clone <llvm-project> $ cd llvm-project && mkdir build && cd build $ cmake -G"Unix Makefiles" ../llvm $ make # or "make -j${N}" : Building : In file included from /Users/marmur02/git/llvm-project/llvm/lib/WindowsManifest/WindowsManifestMerger.cpp:20: In file included from
2011 Oct 19
1
Failed dependencies for libxslt-ruby on CentOS 6
I'm trying to install a gem named Fabulator on CentOS 6 CR x86_64. It's failing on libxslt-ruby. This is the error I get when trying the gem manually... ------------------------------ # gem install libxslt-ruby --no-rdoc --no-ri Building native extensions. This could take a while... ERROR: Error installing libxslt-ruby: ERROR: Failed to build gem native extension.
2008 Oct 15
5
REXML vs libxml
Hi all, I''ve been looking at the performance of my fb app and one glaring issue seems to be with the parsing speed of rexml in processing the results. Has anyone looked into porting the facebooker parser from rexml to libxml? If not, any reason I shouldn''t try? Thanks! Yu-Shan. -------------- next part -------------- An HTML attachment was scrubbed... URL:
2005 Oct 24
6
Rgnome depends on obsolete components libglade/libxml (PR#8247)
Full_Name: Hin-Tak Leung Version: R 2.2.0 OS: x86 linux Submission from: (NULL) (131.111.126.242) Rgnome depends libglade 0.x and libxml 1.x . They are no longer shipped with Redhat EL4. (I know they are still in fedora core 4). Just a wish-list.
2019 May 02
2
[EXT] Fix builds on MacOS Mojave [patch]
Hi I have macports, but I'm not directly using it - it's just being found by the build process somehow. The failure shows that /opt/... is being used, but that usage seems broken or incomplete. M On 01/05/2019, 19:23, "Eli Friedman" <efriedma at quicinc.com> wrote: On an OS X install with Xcode, /opt/ is not expected to contain anything in particular; it
2009 Mar 11
1
configure fail for XML package on freebsd
Hi, I am having problems installing the XML package with R-devel on freebsd. If I simply do install.packages("XML"), it says that the parser.h file is not found. After reading the INSTALL file, I have set setenv XML_CONFIG /usr/local/bin/xml2-config setenv LIBXML_LIBDIR -L/usr/local/lib setenv LIBXML_INCDIR -I/usr/local/include/libxml2/libxml and install.packages("XML")
2004 Aug 06
1
libxml problem
On Friday, 30 November 2001 at 11:16, Jack Moffitt wrote: > > And when i compile ice > > It shows that libxml is detected, which means that it found the headers > and the libs. > > Now, when you compile it, you should see it have -lxml or something > similar. I don't see why you wouldn't have xml support if it's finding > the libs just fine :) > > I
2008 Feb 18
5
uh... fixtures?
RSpec-ers: I''m aware this is quite the FAQ. I have probably asked it myself, but I just can''t Google up anything but others asking it. I grabbed the source to Beast, to use as a Rails project uninfluenced by me, or RSpec. Then I installed the CURRENT version of RSpec and rspec_on_rails, and set up a model spec on Post. Here''s the spec_helper.rb lines:
2004 Aug 06
4
ices compile problems (again...)
Okay, I did this right months ago, but somehow lost the recipe. I have libxml and libxml2 installed: [root@atisha ices-0.2.2]# ls /usr/local/lib libshout.a libxml2.a libxml.a pkgconfig libshout.la libxml2.la libxml.la xml2Conf.sh libshout.so libxml2.so libxml.so xmlConf.sh libshout.so.1 libxml2.so.2 libxml.so.1
2004 Aug 06
4
ices question...
When I run ices with icecast running, I get You have no libxml support. The config file you just specified cannot be used. Ices Exiting... I installed the rpms for libxml and libxml-devel. What else do I need? Sameer --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to