XML namespace parse error

15 views
Skip to first unread message

Yukio Goto

unread,
Nov 20, 2009, 9:39:15 AM11/20/09
to nokogi...@googlegroups.com
Hi, I'm byplayer .

Nokogiri 1.3.3 pass attached, but 1.4.0 cannot pass that .
Please check this .

Thank you .

byplayer
test_sametag_namespace.rb

Aaron Patterson

unread,
Nov 20, 2009, 12:13:12 PM11/20/09
to nokogi...@googlegroups.com
こんにちは!

On Fri, Nov 20, 2009 at 6:39 AM, Yukio Goto <bypla...@gmail.com> wrote:
> Hi, I'm byplayer .
>
> Nokogiri 1.3.3 pass attached, but 1.4.0 cannot pass that .
> Please check this .

Nokogiri::XML::Document#collect_namespaces は廃棄予定中だった為に、このテストは使用出来ませんでした。
しかし、多くの人々に使用されていたので、新しいメソッドを設置する予定です。

以下は次のリリースまで、今現在の可能な臨時の解決方法です。

http://gist.github.com/239633

I'm going to add collect_namespaces back in to Nokogiri, but nokogiri
internals will not depend on it.

--
Aaron Patterson
http://tenderlovemaking.com/

Yukio Goto

unread,
Nov 22, 2009, 3:14:59 AM11/22/09
to nokogi...@googlegroups.com
aaronさん

解決策ありがとうございます。
この方法で対応します。次のバージョンでの正式対応をお待ちしてます。

2009年11月21日2:13 Aaron Patterson <aaron.p...@gmail.com>:
> --
>
> You received this message because you are subscribed to the Google Groups "nokogiri-talk" group.
> To post to this group, send email to nokogi...@googlegroups.com.
> To unsubscribe from this group, send email to nokogiri-tal...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/nokogiri-talk?hl=.
>
>
>
Reply all
Reply to author
Forward
0 new messages