tenderlove/nokogiri — Issue #589: Java version inconsistency: it returns nil for empty attributes
Author: rubiii
Created: 2012-01-02 09:47:38+00:00
State: open

The Java version returns nil for empty attributes where the native version returns an empty string:

``` ruby
Nokogiri.XML('').root['action'].should == ''
```

You can find [a simple testcase on Github](https://github.com/rubiii/nokogiri_spec) and the [test results on Travis](http://travis-ci.org/#!/rubiii/nokogiri_spec).