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
PHP Fatal error: Uncaught TypeError: GoetasWebservices\Xsd\XsdToPhp\Php\PhpConverter::visitElement(): Argument #3 ($element) must be of type GoetasWebservices\XML\XSDReader\Schema\Element\ElementSingle, GoetasWebservices\XML\XSDReader\Schema\Element\Sequence given, called in ...\vendor\goetas-webservices\xsd2php\src\Php\PhpConverter.php on line 133 and defined in ...\vendor\goetas-webservices\xsd2php\src\Php\PhpConverter.php:429
The text was updated successfully, but these errors were encountered:
rtek
changed the title
xsd:Choice of xsd:Sequence not supported?
xs:Choice of xs:Sequence not supported?
Feb 21, 2024
I ran into the same issue with the that file after upgrading my php runtime from 7.4 to 8.2.
Before php8 it was running flawless for over a year.
I spend some time debugging and made it work by patching some functions in Php/PhpConverter. Looks like the implementation of xs:sequence is just incomplete. Someone already created a pull request with a proper implementation which you could use a base for a patch until this fix is included in a release. bba3d45
Attempting to parse this xsd results in a fatal. Is this an unsupported situation or a bug? Thoughts on a workaround?
https://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig-core-schema.xsd
The text was updated successfully, but these errors were encountered: