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

Go XMLName tag conflict #83

Open
ameergituser opened this issue Dec 22, 2024 · 0 comments
Open

Go XMLName tag conflict #83

ameergituser opened this issue Dec 22, 2024 · 0 comments

Comments

@ameergituser
Copy link

ameergituser commented Dec 22, 2024

Description

Generaing Go types for reading and parsing svd files by using the CMSIS-SVD.xsd file.

Steps to reproduce the issue:

  1. xgen -i ./CMSIS-SVD.xsd -o ./svd/types.go -l Go -p svd generates this file types.go.txt
  2. compiling a Go app that reads in an svd ARM_Example.svd
  3. run the app.

Describe the results you received:

2024/12/22 16:17:53 ERRO xml: name "cpu" in tag of svd.Device.Cpu conflicts with name "cpuType" in *svd.CpuType.XMLName

Describe the results you expected:
No errors.

Output of go version:

go version go1.23.4 linux/amd64

xgen version or commit ID:

xgen version: 0.1.0

Environment details (OS, physical, etc.):
Distributor ID: Neon
Description: KDE neon 6.2
Release: 24.04
Codename: noble

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

No branches or pull requests

1 participant