Are we then talking about:
ext/xml
ext/xsl
?
On Nov 25, 2007, at 08:27, Trans wrote:
>
>
> On Nov 24, 1:03 pm, Sean Chittenden <[EMAIL PROTECTED]> wrote:
>>> Ok. Thanks. I'll have to move to ext/xsl/ then... hmm..actually
>>> if we
>>> want to keep it in xml/ then we'd have to make two layers
> Are we then talking about:
>
> ext/xml
> ext/xsl
>
>> Really? Damn. I thought you had suggested we make one package out of
>> it, and I was coming around to that idea.
Hrm... I think I was advocating for a single repo, but not single
module/package.
Regardless of anything I've said in the pa
On Nov 26, 2007, at 11:02, Sean Chittenden wrote:
>> Are we then talking about:
>>
>> ext/xml
>> ext/xsl
>>
>>> Really? Damn. I thought you had suggested we make one package out of
>>> it, and I was coming around to that idea.
>
>
> Hrm... I think I was advocating for a single repo, but not singl
On Nov 26, 2007 11:33 AM, Dan Janowski <[EMAIL PROTECTED]> wrote:
>
> On Nov 26, 2007, at 11:02, Sean Chittenden wrote:
> The packages should be separate, but since xsl may or may not be
> available, it seemed like an easier build config to manage if the two
> are separated, with different extconf
The SVN repository now includes version 0.5.2.2 (as of #212) that
fixes a major problem with .find expressions which return non-nodeset
results like a boolean, string or number. This seems to fix the only
remaining memory fault (segv) that I am aware of.
The only two outstanding service issu
Hey Chaps
There seems to be some kind of issue with UTF-16 encoding in libxml-
ruby version 0.5.2.0.
When I do this:
doc = XML::Document.new()
# doc.encoding = 'utf-16'
doc.root = XML::Node.new('root_node')
root = doc.root
puts doc
## =>
Uncomment the encoding however and you get this:
doc =
It doesn't appear to me that the flag on XML::Parser
'default_load_external_dtd" works.
Looking at the source:
VALUE
ruby_xml_parser_default_load_external_dtd_get(VALUE class) {
if (xmlSubstituteEntitiesDefaultValue)
return(Qtrue);
else
return(Qfalse);
}
I think the variable to
Hi,
You are at least half correct. xmlSubstituteEntitiesDefaultValue has
nothing to do with DTD. However, while the _get method you have
illustrated here makes reference to the wrong variable, the _set
method does not suffer the same problem. So, while the script return
value interrogatin
I don't have 0.3x on my system anymore, but I do not think UTF16 will
behave any differently. .to_s is written incorrectly, from what I can
tell, since it just feeds the encoding of the document back into the
formatter. But in either case, if you want the as-encoded document,
you really wan
I have modified Document#to_s to permit the inclusion of a second
encoding argument (didn't know there was a first one, eh?). It will
not change the document encoding, but will case libxml to produce a
representation of the document in the requested encoding (transcoding
it if necessary). T
Hi,
How to specify namespace on xpath in version 5.2.0 ?
Someone told me that you can do it like this in version 3.8.4 :
---
require "rubygems"
require "xml/libxml" # 3.8.4
doc = XML::Parser.string(<
http://www.w3.org/2007/app";
xmlns:atom="http://www.w3.org/2005/Atom";>
http://e
I'm willing to do the work (adding unit tests and fixing the bug if I can)
if you don't mind :-)
2007/11/27, keisuke fukuda <[EMAIL PROTECTED]>:
> Hi,
>
> How to specify namespace on xpath in version 5.2.0 ?
>
> Someone told me that you can do it like this in version 3.8.4 :
> ---
> require "ruby
12 matches
Mail list logo