-
-
Notifications
You must be signed in to change notification settings - Fork 221
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
FromXMLParser nextTextValue() incorrect for attributes #204
Comments
Quite possible. Do you have a simple reproduction to show the problem, and to make sure fix would resolve the problem. |
Modified test from XmlParserTest:
|
@frederikz Forgot to ask which versions this is with? |
Was occurring at least with 2.7 and 2.8; and since earlier branches not maintained any more bit of a moot point. Fix will be in 2.7.7 / 2.8.2; was a simple case of not actually returning the text... Thank you for reporting this! |
As of #129 the Method nextTextValue of FromXMLParser will no longer return a value for attributes. As the _currToken is JsonToken.VALUE_STRING in this case I think it is wrong to return null and it should return _currText.
The text was updated successfully, but these errors were encountered: