Re: [libxml-devel] Ruby libxslt not working with exslt() extensions

2008-11-19 Thread Charlie Savage
Fabrice, However I tried to transform a xml docbook file using Docbook xslt. The transformation fails because of a reference to a exslt() function: > result = stylesheet.apply(xml_doc) xmlXPathCompOpEval: function node-set not found Unregistered function runtime error: file D:///docbook

Re: [libxml-devel] UTF-8 problem

2008-11-19 Thread Charlie Savage
Hi David, I'm trying to input and output special characters, but I'm getting parse errors from libxml. Code snippet: node = LibXML::XML::Node.new 'node' node.content = '' doc = LibXML::XML::Document.new doc.encoding = 'UTF-8' doc.root = node xml

Re: [libxml-devel] REXML-dropin, a REXML replacement using libxml-ruby

2008-11-19 Thread Charlie Savage
Hi Stephan, In XMPP4R we're bound to the very intuitive REXML API because that's what XMPP4R is about: dealing with XML. I thought the only way out would be resembling it. That's why I have started REXML-dropin, a wrapper around libxml: http://github.com/astro/rexml-dropin/ Curious how is pr

Re: [libxml-devel] what about rb_gc_mark(): unknown data type

2008-11-19 Thread Charlie Savage
Hi Dmitir, Just to close this thread off... Charlie Savage wrote: Hi Dmitri, Well, after some looking around it seems to me that the problem appears in ruby_xml_parser.c when calling rb_gc_mark(((rx_string_data *)rxp->data)->str); This code has been entirely removed from libxml - so h

Re: [libxml-devel] [ANN] nokogiri 1.0.0 Released

2008-11-19 Thread Charlie Savage
Hi Aaron, nokogiri version 1.0.0 has been released! * * * Nokogiri (鋸) is an HTML, XML, SAX, and Reader parser with XPath and CSS selector support. So I finally

Re: [libxml-devel] REXML-dropin, a REXML replacement using libxml-ruby

2008-11-19 Thread Stephan Maka
Charlie Savage wrote: >> In XMPP4R we're bound to the very intuitive REXML API because that's >> what XMPP4R is about: dealing with XML. I thought the only way out >> would be resembling it. That's why I have started REXML-dropin, a >> wrapper around libxml: >> http://github.com/astro/rexml-dropin/

[libxml-devel] Build error: ld duplicate symbol error

2008-11-19 Thread Greg
I'm trying to build libxml-ruby-0.9.1 on Mac OS X 10.5.5 but am encountering a duplicate symbol error. Specific error is: ld: duplicate symbol _INPUT_ATTR in ruby_xml_parser.o and ruby_xml_html_parser.o collect2: ld returned 1 exit status make: *** [libxml_ruby.bundle] Error 1 The command that I

Re: [libxml-devel] Build error: ld duplicate symbol error

2008-11-19 Thread Charlie Savage
Hi Greg, I'm trying to build libxml-ruby-0.9.1 on Mac OS X 10.5.5 but am encountering a duplicate symbol error. Specific error is: ld: duplicate symbol _INPUT_ATTR in ruby_xml_parser.o and ruby_xml_html_parser.o collect2: ld returned 1 exit status make: *** [libxml_ruby.bundle] Error 1 Hmm, r

Re: [libxml-devel] UTF-8 problem

2008-11-19 Thread David Helder
Charlie, It turns out isn't a legal character reference in XML 1.0 (see section 4.1). It would be nice if libxml warned or raised an error, but that's more of a libxml issue, not a ruby-libxml issue. David On Nov 19, 2008, at 12:23 AM, Charlie Savage wrote: I see the same thing. Its ha

Re: [libxml-devel] UTF-8 problem

2008-11-19 Thread Charlie Savage
David Helder wrote: Charlie, It turns out isn't a legal character reference in XML 1.0 (see section 4.1). It would be nice if libxml warned or raised an error, but that's more of a libxml issue, not a ruby-libxml issue. Ah good. Ok, will scratch that one off the list. Has the encoding sw

[libxml-devel] problem updating from to 0.9.1 on macos 10.5.5

2008-11-19 Thread Stephen Bannasch
I've got a bunch of older lbxml gems installed: $ gem list libxml *** LOCAL GEMS *** libxml-ruby (0.8.3, 0.8.0, 0.6.0, 0.3.8.4) But installing 0.9.1 fails to build the native extensions [dev]$ sudo gem update libxml Updating installed gems Updating libxml-ruby Building native extensions. Thi

Re: [libxml-devel] problem updating from to 0.9.1 on macos 10.5.5

2008-11-19 Thread Charlie Savage
Stephen, I've got a bunch of older lbxml gems installed: $ gem list libxml *** LOCAL GEMS *** libxml-ruby (0.8.3, 0.8.0, 0.6.0, 0.3.8.4) But installing 0.9.1 fails to build the native extensions Try 0.9.2. I think it solves the issue. See http://rubyforge.org/tracker/index.php?func=detai

[libxml-devel] [ libxml-Bugs-22877 ] Gem 0.9 cannot be installed on Ubuntu 8.04

2008-11-19 Thread noreply
Bugs item #22877, was opened at 2008-11-18 13:54 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=1971&aid=22877&group_id=494 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Nikolay Kolev (nikolay) Assigned to: Nobody (None) Summary: G

[libxml-devel] [ libxml-Bugs-22877 ] Gem 0.9 cannot be installed on Ubuntu 8.04

2008-11-19 Thread noreply
Bugs item #22877, was opened at 2008-11-18 13:54 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=1971&aid=22877&group_id=494 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Nikolay Kolev (nikolay) Assigned to: Nobody (None) Summary: G

Re: [libxml-devel] [ libxml-Bugs-22877 ] Gem 0.9 cannot be installed on Ubuntu 8.04

2008-11-19 Thread gf
The same thing is happening on Mac OS X 10.5.5. So many symbols are undeclared and they don't show up by doing a grep, so I think there must be a missing file. On Nov 18, 2:02 pm, <[EMAIL PROTECTED]> wrote: > Bugs item #22877, was opened at 2008-11-18 15:54 > You can respond by > visiting:http://

[libxml-devel] [ libxml-Bugs-22879 ] 0.9.0 fails to build on Mac OS 10.5.5

2008-11-19 Thread noreply
Bugs item #22879, was opened at 2008-11-18 16:20 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=1971&aid=22879&group_id=494 Category: General Group: None Status: Open Resolution: None Priority: 3 Submitted By: Nobody (None) Assigned to: Nobody (None) Summary: 0.9.0 fa

[libxml-devel] [ libxml-Bugs-22877 ] Gem 0.9 cannot be installed on Ubuntu 8.04

2008-11-19 Thread noreply
Bugs item #22877, was opened at 2008-11-18 13:54 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=1971&aid=22877&group_id=494 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Nikolay Kolev (nikolay) Assigned to: Nobody (None) Summary: G

[libxml-devel] [ libxml-Bugs-22879 ] 0.9.0 fails to build on Mac OS 10.5.5

2008-11-19 Thread noreply
Bugs item #22879, was opened at 2008-11-18 14:20 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=1971&aid=22879&group_id=494 Category: General Group: None Status: Open Resolution: None Priority: 3 Submitted By: Nobody (None) Assigned to: Nobody (None) Summary: 0.9.0 fa

[libxml-devel] [ libxml-Bugs-22879 ] 0.9.0 fails to build on Mac OS 10.5.5

2008-11-19 Thread noreply
Bugs item #22879, was opened at 2008-11-18 13:20 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=1971&aid=22879&group_id=494 Category: General Group: None Status: Open Resolution: None Priority: 3 Submitted By: Nobody (None) Assigned to: Nobody (None) Summary: 0.9.0 fa

[libxml-devel] [ libxml-Bugs-22877 ] Gem 0.9 cannot be installed on Ubuntu 8.04

2008-11-19 Thread noreply
Bugs item #22877, was opened at 2008-11-18 15:54 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=1971&aid=22877&group_id=494 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Nikolay Kolev (nikolay) Assigned to: Nobody (None) Summary: G

[libxml-devel] [ libxml-Bugs-19935 ] Impossible specify encoding for HTMLParser

2008-11-19 Thread noreply
Bugs item #19935, was opened at 2008-05-04 08:54 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=1971&aid=19935&group_id=494 Category: General Group: v0.5 >Status: Closed >Resolution: Accepted Priority: 3 Submitted By: Nobody (None) Assigned to: Nobody (None) Summary:

[libxml-devel] [ libxml-Bugs-22877 ] Gem 0.9 cannot be installed on Ubuntu 8.04

2008-11-19 Thread noreply
Bugs item #22877, was opened at 2008-11-18 15:54 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=1971&aid=22877&group_id=494 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Nikolay Kolev (nikolay) Assigned to: Nobody (None) Summary: G

[libxml-devel] [ libxml-Bugs-22879 ] 0.9.0 fails to build on Mac OS 10.5.5

2008-11-19 Thread noreply
Bugs item #22879, was opened at 2008-11-18 16:20 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=1971&aid=22879&group_id=494 Category: General Group: None Status: Open Resolution: None Priority: 3 Submitted By: Nobody (None) Assigned to: Nobody (None) Summary: 0.9.0 fa

[libxml-devel] [ libxml-Bugs-22877 ] Gem 0.9 cannot be installed on Ubuntu 8.04

2008-11-19 Thread noreply
Bugs item #22877, was opened at 2008-11-18 13:54 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=1971&aid=22877&group_id=494 Category: None Group: None >Status: Closed >Resolution: Accepted Priority: 3 Submitted By: Nikolay Kolev (nikolay) >Assigned to: Charlie Savage

[libxml-devel] [ libxml-Bugs-22879 ] 0.9.0 fails to build on Mac OS 10.5.5

2008-11-19 Thread noreply
Bugs item #22879, was opened at 2008-11-18 14:20 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=1971&aid=22879&group_id=494 Category: General Group: None Status: Open Resolution: None Priority: 3 Submitted By: Nobody (None) Assigned to: Nobody (None) Summary: 0.9.0 fa

[libxml-devel] [ libxml-Bugs-22879 ] 0.9.0 fails to build on Mac OS 10.5.5

2008-11-19 Thread noreply
Bugs item #22879, was opened at 2008-11-18 13:20 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=1971&aid=22879&group_id=494 Category: General Group: None Status: Open Resolution: None Priority: 3 Submitted By: Nobody (None) Assigned to: Nobody (None) Summary: 0.9.0 fa

[libxml-devel] [ libxml-Bugs-22879 ] 0.9.0 fails to build on Mac OS 10.5.5

2008-11-19 Thread noreply
Bugs item #22879, was opened at 2008-11-18 14:20 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=1971&aid=22879&group_id=494 Category: General Group: None Status: Open Resolution: None Priority: 3 Submitted By: Nobody (None) Assigned to: Nobody (None) Summary: 0.9.0 fa

[libxml-devel] [ libxml-Bugs-22879 ] 0.9.0 fails to build on Mac OS 10.5.5

2008-11-19 Thread noreply
Bugs item #22879, was opened at 2008-11-18 16:20 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=1971&aid=22879&group_id=494 Category: General Group: None Status: Open Resolution: None Priority: 3 Submitted By: Nobody (None) Assigned to: Nobody (None) Summary: 0.9.0 fa

[libxml-devel] [ libxml-Bugs-22879 ] 0.9.0 fails to build on Mac OS 10.5.5

2008-11-19 Thread noreply
Bugs item #22879, was opened at 2008-11-18 14:20 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=1971&aid=22879&group_id=494 Category: General Group: None Status: Open Resolution: None Priority: 3 Submitted By: Nobody (None) Assigned to: Nobody (None) Summary: 0.9.0 fa

[libxml-devel] [ libxml-Bugs-22879 ] 0.9.0 fails to build on Mac OS 10.5.5

2008-11-19 Thread noreply
Bugs item #22879, was opened at 2008-11-18 16:20 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=1971&aid=22879&group_id=494 Category: General Group: None Status: Open Resolution: None Priority: 3 Submitted By: Nobody (None) Assigned to: Nobody (None) Summary: 0.9.0 fa

[libxml-devel] [ libxml-Bugs-12314 ] node.to_s doesn't print the XML on 64bit AMD?

2008-11-19 Thread noreply
Bugs item #12314, was opened at 2007-07-15 20:06 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=1971&aid=12314&group_id=494 Category: None Group: None >Status: Closed >Resolution: Accepted Priority: 3 Submitted By: Nobody (None) Assigned to: Charlie Savage (cfis) Summ

Re: [libxml-devel] [ANN] nokogiri 1.0.0 Released

2008-11-19 Thread Aaron Patterson
Hey Charlie, 2008/11/19 Charlie Savage <[EMAIL PROTECTED]>: > Hi Aaron, > >> nokogiri version 1.0.0 has been released! >> >> * >> * >> * >> >> Nokogiri (鋸) is an HTML,

[libxml-devel] XML Schema validation of multiple namespaces in a document

2008-11-19 Thread avatar382
Hi all, I'll ask the question in one sentence first, and then I'll explain what I am trying to do. Does libxml-ruby provide a way to validate a document against multiple XML Schemas such that any XML in different namespaces, with other XML Schemas mapped to the namespaces in an xsi:schemaLocation

[libxml-devel] [ libxml-Bugs-22879 ] 0.9.0 fails to build on Mac OS 10.5.5

2008-11-19 Thread noreply
Bugs item #22879, was opened at 2008-11-18 14:20 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=1971&aid=22879&group_id=494 Category: General Group: None >Status: Closed >Resolution: Accepted Priority: 3 Submitted By: Nobody (None) >Assigned to: Charlie Savage (cfis)

[libxml-devel] [ libxml-Bugs-22879 ] 0.9.0 fails to build on Mac OS 10.5.5

2008-11-19 Thread noreply
Bugs item #22879, was opened at 2008-11-18 16:20 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=1971&aid=22879&group_id=494 Category: General Group: None Status: Open Resolution: None Priority: 3 Submitted By: Nobody (None) Assigned to: Nobody (None) Summary: 0.9.0 fa

Re: [libxml-devel] XML Schema validation of multiple namespaces in a document

2008-11-19 Thread Charlie Savage
Hi avatar382, I'll ask the question in one sentence first, and then I'll explain what I am trying to do. Does libxml-ruby provide a way to validate a document against multiple XML Schemas such that any XML in different namespaces, with other XML Schemas mapped to the namespaces in an xsi:schema

[libxml-devel] Fancy new documentation

2008-11-19 Thread Charlie Savage
Thought I'd let everyone know that the pending 0.9.x series has fancy new documentation. Check it out: http://libxml.rubyforge.org/rdoc/index.html Most classes are now documented, and most of the C methods. If anyone wants to document the newer Ruby methods, I'd be happy to apply patches.

Re: [libxml-devel] [ANN] nokogiri 1.0.0 Released

2008-11-19 Thread Charlie Savage
Hey Aaron, So the obvious question is why didn't you build off the libxml-ruby bindings? And then the next obvious question, would it be better to combine efforts? Seems to me that would be much preferable. I tried to build off the libxml-ruby bindings. You'll notice the 7 patches I submit

Re: [libxml-devel] Fancy new documentation

2008-11-19 Thread Trans
On Nov 19, 3:28 pm, Charlie Savage <[EMAIL PROTECTED]> wrote: > Thought I'd let everyone know that the pending 0.9.x series has fancy > new documentation.  Check it out: > > http://libxml.rubyforge.org/rdoc/index.html > > Most classes are now documented, and most of the C methods.  If anyone > wa

[libxml-devel] [ libxml-Bugs-22877 ] Gem 0.9 cannot be installed on Ubuntu 8.04

2008-11-19 Thread noreply
Bugs item #22877, was opened at 2008-11-18 12:54 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=1971&aid=22877&group_id=494 Category: None Group: None Status: Closed Resolution: Accepted Priority: 3 Submitted By: Nikolay Kolev (nikolay) Assigned to: Charlie Savage (cf

[libxml-devel] updated XML benchmarks

2008-11-19 Thread Stephen Bannasch
[BTW: The new documentation looks great Charlie!] I've updated my simple ruby xml benchmark which measures the time to open a 98k XML document and count one type of leaf element (466 entries) 100 times. https://svn.concord.org/svn/projects/trunk/common/ruby/xml_benchmarks/ The summary is t

Re: [libxml-devel] [ANN] nokogiri 1.0.0 Released

2008-11-19 Thread Aaron Patterson
On Wed, Nov 19, 2008 at 01:09:06PM -0700, Charlie Savage wrote: >> After trying to build the functionality I needed on top of >> libxml-ruby, I finally got tired of contorting around the API. These >> hindering aspects made writing my own library seem like the path of >> least resistance. > > Yup,

Re: [libxml-devel] updated XML benchmarks

2008-11-19 Thread Charlie Savage
Hi Stephan, I've updated my simple ruby xml benchmark which measures the time to open a 98k XML document and count one type of leaf element (466 entries) 100 times. https://svn.concord.org/svn/projects/trunk/common/ruby/xml_benchmarks/ The summary is that for this one test using libxml in

Re: [libxml-devel] [ANN] nokogiri 1.0.0 Released

2008-11-19 Thread Charlie Savage
I prefer the separate project solution. I'm not sure what bits of our code overlaps. I think our underlying C bits are too different. I'm all for sharing, but I like the project I have set up now. Sure, no problem. When I get a chance I'll take a closer look at Nokogiri and see what you gu

Re: [libxml-devel] updated XML benchmarks

2008-11-19 Thread Stephen Bannasch
At 9:41 PM -0700 11/19/08, Charlie Savage wrote: Hi Stephan, I've updated my simple ruby xml benchmark which measures the time to open a 98k XML document and count one type of leaf element (466 entries) 100 times. https://svn.concord.org/svn/projects/trunk/common/ruby/xml_benchmarks/ T