Replies: 1 comment
-
I'm not really sure what you mean, can you please provide a concrete example. AFAIK XML doesn't have a standardised concept of boolean or null? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently when converting YAML or JSON (I haven't (yet) checked with other formats) to XML (and back) booleans and
null
become strings "true", "false" and "null". I think it would be a better idea to represent them with void elements<true />
,<false />
,<null />
or perhaps better something like<constant value="true" />
(equivalent to the same as an empty rather than void element) etc. which would allow them to roundtrip properly.Beta Was this translation helpful? Give feedback.
All reactions