trying to find out why there are so many different numbered versions

This commit is contained in:
Jonas Linter
2025-09-23 09:40:11 +02:00
parent ff3a5855de
commit aed1c567f2
6 changed files with 116 additions and 0 deletions

13
CustomerType125.txt Normal file
View File

@@ -0,0 +1,13 @@
def validate_StatusType(self, value):
# Validate type StatusType, a restriction on xs:string.
if value is not None and Validate_simpletypes_ and self.gds_collector_ is not None:
if not isinstance(value, str):
lineno = self.gds_get_node_lineno_()
self.gds_collector_.add_message('Value "%(value)s"%(lineno)s is not of the correct base simple type (str)' % {"value": value, "lineno": lineno, })
return False
value = value
enumerations = ['ALPINEBITS_HANDSHAKE']
if value not in enumerations:
lineno = self.gds_get_node_lineno_()
self.gds_collector_.add_message('Value "%(value)s"%(lineno)s does not match xsd enumeration restriction on StatusType' % {"value" : encode_str_2_3(value), "lineno": lineno} )
result = False