Skip to content
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

WIP: use xml Name #29

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

WIP: use xml Name #29

wants to merge 1 commit into from

Conversation

genofire
Copy link
Contributor

@genofire genofire commented Jun 5, 2019

No description provided.

@@ -49,7 +51,8 @@ func newRegistry() *registry {
// The match is done per packetType (iq, message, or presence) and XML tag name.
// You can use the alias "*" as local XML name to be able to match all unknown tag name for that
// packet type and namespace.
func (r *registry) MapExtension(pktType packetType, name xml.Name, extension MsgExtension) {
func (r *registry) MapExtension(pktType packetType, extension MsgExtension) {
name := extension.Name()
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does not work alike expected yet.
We need to read the golang xml tag annotation -> a new created xml.Name does not contain a value in Local and Space

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant