-
-
Notifications
You must be signed in to change notification settings - Fork 905
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prefixed element inconsistency between CRuby and JRuby #712
Comments
I'd like to garner some sort of consensus on the approach here before I attempt to make a fix. @flavorjones, @tenderlove: Would you agree that the behavior of JRuby is the correct one here? |
I note that in this case, Ox follows the same semantics as Nokogiri on JRuby. |
Things that behave like #['lang']:
Things that behave like #['xml:lang']:
In my mind, that brings it hands down in favour of qualifying namespace prefixes in attribute accessors. I shall prepare a patch. |
Patch at #726 ready to be merged. Can someone take a look? |
Affected ruby versions
Affected nokogiri versions
Test case
Result
I believe JRuby is behaving correctly here, and the C version is the one at fault.
The text was updated successfully, but these errors were encountered: