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

Single quotes for XML attributes #51

Closed
SCadilhac opened this issue Oct 27, 2018 · 1 comment
Closed

Single quotes for XML attributes #51

SCadilhac opened this issue Oct 27, 2018 · 1 comment

Comments

@SCadilhac
Copy link
Contributor

As per https://www.w3.org/TR/2008/REC-xml-20081126/#dt-attr, the value of an XML attribute can be enclosed between double or single quotes. Clixon XML parser only supports double quotes at the moment, it should support single quotes too.

olofhagsand added a commit that referenced this issue Oct 28, 2018
@olofhagsand
Copy link
Member

Modified xml parser and added testcases.

olofhagsand added a commit that referenced this issue Jul 27, 2020
clicon/cligen#51):

  * Dont escape `$` if it is last in a regexp in translation from XML to POSIX.
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

2 participants