Before reading an eap-config profile, verify the XSD. This prevents loading profiles that do not match the XSD, this may in some cases be a bit too strict, but on the other hand it prevents issues like #38.
The XSD is copied from the CAT project, and modified.
Add Username field (besides existig UserName field)
Fix whitespace (tabs and remove tailing whitespace)
The Username field is not used by this application. However, refusing it would yield problems with keeping compatibility with the current Android app.
An issue that could occur when merging this code, is that the XSD often specifies a sequence, which mandates a certain ordering in the eap-config file. Current we do not care about this ordering, but we would if this was merged.
Before reading an eap-config profile, verify the XSD. This prevents loading profiles that do not match the XSD, this may in some cases be a bit too strict, but on the other hand it prevents issues like #38.
The XSD is copied from the CAT project, and modified.
Username
field (besides existigUserName
field)The
Username
field is not used by this application. However, refusing it would yield problems with keeping compatibility with the current Android app.An issue that could occur when merging this code, is that the XSD often specifies a
sequence
, which mandates a certain ordering in the eap-config file. Current we do not care about this ordering, but we would if this was merged.For example, this would be valid:
but this would not: