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
In AbstractConverter there is a mapping from long and unsignedLong to int.
Since PHPs int is signed (and there exists no unsigned) there may be overflow issues when using unsignedLong on a 32bit PHP interpreter. Even longs can be problematic, as those usually are defined to be at least 32 bits, but restrictions in the XSD may give min/max lengths that would overflow on 32bit types.
The long and unsignedLong mappings cannot be overridden, this would result in a strange mapping, i.e.
the default is long => int, so stating long => string besides that would yield sth. like int => string, which is unexpected behavior.
The text was updated successfully, but these errors were encountered:
Depends, they should be BUT nevertheless, the mapping acts quite weird when trying to override it.
XAMPP installations on Windows provide 32bit interpreters. The main problem here is, that PHP automatically converts the int into a float if it overflows, which is known to be inaccurate (thanks IEEE).
In
AbstractConverter
there is a mapping from long and unsignedLong to int.Since PHPs int is signed (and there exists no unsigned) there may be overflow issues when using unsignedLong on a 32bit PHP interpreter. Even longs can be problematic, as those usually are defined to be at least 32 bits, but restrictions in the XSD may give min/max lengths that would overflow on 32bit types.
The long and unsignedLong mappings cannot be overridden, this would result in a strange mapping, i.e.
the default is long => int, so stating long => string besides that would yield sth. like int => string, which is unexpected behavior.
The text was updated successfully, but these errors were encountered: