You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As discussed on the internal slack, the minimum and maximum attributes of an option set's options element are optional (according to the schema), but XP throws a runtime exception if you try and use an option set without these specified. The error mentions a ConvertException from string to int, which can be hard to debug if you don't have any numbers in your XML.
Because the attributes are optional according to the schema, a language server or other similar service might not (mine doesn't) tell you that you need to add the attributes.
As discussed on the internal slack, the
minimum
andmaximum
attributes of an option set'soptions
element are optional (according to the schema), but XP throws a runtime exception if you try and use an option set without these specified. The error mentions aConvertException
from string to int, which can be hard to debug if you don't have any numbers in your XML.Because the attributes are optional according to the schema, a language server or other similar service might not (mine doesn't) tell you that you need to add the attributes.
This option set demonstrates the issue.
The text was updated successfully, but these errors were encountered: