Skip to content

WIP: use xml Name#29

Open
genofire wants to merge 1 commit intoFluuxIO:mainfrom
genofire:xmlname
Open

WIP: use xml Name#29
genofire wants to merge 1 commit intoFluuxIO:mainfrom
genofire:xmlname

Conversation

@genofire
Copy link
Copy Markdown
Contributor

@genofire genofire commented Jun 5, 2019

No description provided.

Comment thread registry.go
// 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
Copy Markdown
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.

1 participant