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

A way to detect self closing tag #183

Open
paulish opened this issue Jun 14, 2024 · 0 comments
Open

A way to detect self closing tag #183

paulish opened this issue Jun 14, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@paulish
Copy link

paulish commented Jun 14, 2024

Some systems use self-closing tags to show that tag have null value, some systems use xsi:nil for the same purpose. With xmlbuilder2 we are able to detect that element has xsi:nil attribute but we are not able to detect if tag is self-closing.

First I would like to know is there a way to detect that element is self-closing (I have not found reading the source code and using debugger and documentation but perhaps I skipped something).

And if there is no way then would it be acceptable if I create a merge request for this feature? Or perhaps @oozcitak wants to implement this himself or have contra arguments for this feature?

@paulish paulish added the enhancement New feature or request label Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants