Displaying 20 results from an estimated 7000 matches similar to: "libxml: uninitialized constant"
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
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:
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 Nov 12
9
uninitialized constant XML::Document
Hi All,
I have installed "libxml-ruby" gem on my ruby instllation. while trying
to create xml document with ruby progam in Rad Rails am getting error
like "uninitialized constant XML::Document (NameError)"
do i need to config any thing else in environment.rb file
Thanks in advance
Chinna.
--
Posted via http://www.ruby-forum.com/.
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
2009 Apr 03
2
Recovering in Ruby-libxml parser from invalid UTF8 code
I am parsing XML streams with ruby-libxml using the XML::Reader class.
Several have invalid UTF-8 characters. I need a tutorial or at least some
hints on how to recover and continue the parsing.
TIA,
Jeffrey
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this
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 Mar 28
10
Inheriting from AdminController intstead from ApplicationController
Hi
I would like to do the following:
I have created an admin namespace and the required folders app/admin
views/admin etc. And then I wanted all controllers under app/admin to
inherit from a controller named AdminController which resists under
app/admin/admin.rb instead of inhereting from ApplicationController,
so I could better separate between admin and public section. The
AdminController
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.
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:
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'')
.
.
.
2008 Aug 15
7
Autotest and subclasses / namespaces
I am writing a controller admin/cities_controller.rb
it inherits from AdminController, so it''s defined like
class Admin::CitiesController > AdminController
Whenever I save the controller file, autotest freaks out:
uninitialized constant Admin::AdminController (NameError)
I''m pretty used to just hitting CTRL-C to get autotest to re-load all
the files, or flicking to
2006 Apr 01
0
CESA-2004:650 CentOS 3 x86_64 libxml - security update
CentOS Errata and Security Advisory 2005:650
libxml security update for CentOS 3 x86_64:
https://rhn.redhat.com/errata/RHSA-2004-650.html
The following updated file has been uploaded and is currently syncing to
the mirrors:
x86_64:
updates/x86_64/RPMS/libxml-1.8.17-9.2.i386.rpm
updates/x86_64/RPMS/libxml-1.8.17-9.2.x86_64.rpm
updates/x86_64/RPMS/libxml-devel-1.8.17-9.2.x86_64.rpm
source:
2009 Aug 10
0
CESA-2009:1206 Moderate CentOS 3 x86_64 libxml and libxml2 - security update
CentOS Errata and Security Advisory CESA-2009:1206
libxml and libxml2 security update for CentOS 3 x86_64:
https://rhn.redhat.com/errata/RHSA-2009-1206.html
The following updated file has been uploaded and is currently syncing to
the mirrors:
x86_64:
updates/x86_64/RPMS/libxml-1.8.17-9.3.i386.rpm
updates/x86_64/RPMS/libxml-1.8.17-9.3.x86_64.rpm
updates/x86_64/RPMS/libxml2-2.5.10-15.i386.rpm
2004 Dec 17
0
CentOS-3 x86_64 errata - Updated libxml package fixes security vulnerabilities
The libxml package has been updated. Refer to
https://rhn.redhat.com/errata/RHSA-2004-650.html.
RPMS/libxml-1.8.17-9.2.x86_64.rpm
RPMS/libxml-devel-1.8.17-9.2.x86_64.rpm
SRPMS/libxml-1.8.17-9.2.src.rpm
Execute "yum update libxml" to apply.
Will Dinkel
Chief Systems Engineer
Team HPC, Inc.
785-542-2135 x304
wdinkel at teamhpc.com
http://www.teamhpc.com
-------------- next part
2006 Apr 01
0
CESA-2004:650 CentOS 3 i386 libxml - security update
CentOS Errata and Security Advisory 2005:650
libxml security update for CentOS 3 i386:
https://rhn.redhat.com/errata/RHSA-2004-650.html
The following updated file has been uploaded and is currently syncing to
the mirrors:
i386:
updates/i386/RPMS/libxml-1.8.17-9.2.i386.rpm
updates/i386/RPMS/libxml-devel-1.8.17-9.2.i386.rpm
source:
updates/SRPMS/libxml-1.8.17-9.2.src.rpm
You may update your
2009 Aug 10
0
CESA-2009:1206 Moderate CentOS 3 i386 libxml and libxml2 - security update
CentOS Errata and Security Advisory CESA-2009:1206
libxml and libxml2 security update for CentOS 3 i386:
https://rhn.redhat.com/errata/RHSA-2009-1206.html
The following updated file has been uploaded and is currently syncing to
the mirrors:
i386:
updates/i386/RPMS/libxml-1.8.17-9.3.i386.rpm
updates/i386/RPMS/libxml2-2.5.10-15.i386.rpm
updates/i386/RPMS/libxml2-devel-2.5.10-15.i386.rpm
2004 Dec 16
0
CentOS-3 i386 errata - Updated libxml package fixes security vulnerabilities
https://rhn.redhat.com/errata/RHSA-2004-650.html refers
Changed files are :-
updates/i386/RPMS/libxml-1.8.17-9.2.i386.rpm
updates/i386/RPMS/libxml-devel-1.8.17-9.2.i386.rpm
updates/i386/SRPMS/libxml-1.8.17-9.2.src.rpm
yum update libxml will upgrade
These are on mirror.caosity.org now and should be on local mirrors
within a few hours.
Lance
-------------- next part --------------
A non-text