The XML schema I'm working with has specific character lengths for strings. So I may have a string that's like:
"Jim & Mary"
which is 10 chars in C# but when it is written to xml it becomes:
"Jim & Mary"
If an XML schema said the string could only be a max of 10 chars. Would this string pass?
If not, how can I test in C# for the string length as it would appear in XML?
Thanks for any help.