Replies: 2 comments
-
Why does it need to be uppercase in the first place? Someone correct me if I'm wrong, but doesn't the XML spec require it be case-insensitive when checked? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yes, but not all implementations are fully compliant. Some programs use concatenated strings to construct xml content, and do not use standard xml serialization (some java programs). At the same time, they parse xml and directly manipulate strings, so they don't follow the standard. |
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
-
When I use code like below for xml serialization,
will output
Hi everyone,I can integrate from the UTF8Encoding type and rewrite some members to make the output encoding name uppercase, the code is as follows
will output
The problem is that I currently use GB2312 encoding, and its real type is DBCSCodePageEncoding. cs, which is an inner class, I cannot inherit and override the name field.
So what should I meet to complete this task?
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions