Interesting found....
I changed the xsd as follow:
<xsd:pattern value="[A-Z]|[0-9]" />
It worked perfectly with the following two scenarios...
<MgmtCode>F</MgmtCode>
<MgmtCode>9</MgmtCode>
But If I added a brackets () in the xsd as follow:
<xsd:pattern value="([A-Z]|[0-9])" />
<MgmtCode>9</MgmtCode> <-- PASSED
<MgmtCode>F</MgmtCode> <-- FAILED
[ERROR] Element 'MgmtCode': [facet 'pattern'] The value 'F' is not accepted by the pattern '([A-Z]|[0-9])'. [line: 1]
[ERROR] Element 'MgmtCode': 'F' is not a valid value of the atomic type 'MgmtCodetyp'. [line: 1]