Hi,
This problem reported here and fixed by John Messerly is back in the
IronRuby Alpha release at http://rubyforge.org/projects/ironruby.
So, the patch by John never made it "officially"?
Thanks!
N. F. wrote:
> John Messerly wrote:
>> Thanks for the ping. I think the simple fix actually works fine here.
>> Let me know if it works for you & I'll get it checked in.
>
> Hi John...it worked great! Thanks so very much...I went ahead and pulled
> the record from the MarkLogic server and all looks good. Here is the
> sample code (very basic...just to show it works) in case anyone may
> care:
>
> require 'System, Version=2.0.0.0, Culture=neutral,
> PublicKeyToken=b77a5c561934e089'
> require "c:\\IronRuby\\build\\release\\MarklogicXcc.dll"
> # all xcc dlls have to be in the same dir as ironruby (except for
> MarklogicXcc.dll)
>
> uri = System::Uri.new('xcc://adm:[EMAIL PROTECTED]:9003')
> content_source =
> Marklogic::Xcc::ContentSourceFactory::NewContentSource(uri)
> session = content_source::NewSession()
> query = 'let $r := //[EMAIL PROTECTED] eq "200608199-060"] return $r'
> request = session.NewAdhocQuery(query)
> resultSequence = session.SubmitRequest(request)
> results = resultSequence.AsString("/n")
> puts results
>
> -- Nivaldo
--
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ironruby-core mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core