-
Notifications
You must be signed in to change notification settings - Fork 422
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
objectifying XML pkt of multiple "field" tags with the same "name" attribute #23
Comments
maybe something dirty like this..
|
anyone working on this? |
I haven't had time to think of an actually good solution, if you have anything - please do |
Finally solved on #46 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
https://github.com/KimiNewt/pyshark/blob/master/src/pyshark/packet/layer.py#L43
I was wondering whats the proper parsing/objectifying of XML packet of multiple "field" tags with the same attribute "name"?
The issue occurs mostly in the highest decoded layer of the packet e.g. DATA-LINES-TEXT, where multiple "field" tags have an empty "name" attribute.
If I may recommend something, (without breaking backward compatibility), adding a prefix to duplicated names e.g. "name_attribute", "name_attribute_1", "name_attribute_2" ..etc
PS
thanks for such a great project
The text was updated successfully, but these errors were encountered: