Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove import contract namespace as this results in a stack overflow #911

Merged
merged 1 commit into from
Oct 20, 2022
Merged

Conversation

ArtemevAL
Copy link
Contributor

Exclude contract namespace import, as this results in a stack overflow error in some parsers.

Example, before:
...
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ser="http://schemas.microsoft.com/2003/10/Serialization/" elementFormDefault="qualified" targetNamespace="http://iteco.ru/esz/EszServer/MpguSearchService">
<xs:import namespace="http://iteco.ru/esz/EszServer/MpguSearchService" />
<xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
...

after :
...
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ser="http://schemas.microsoft.com/2003/10/Serialization/" elementFormDefault="qualified" targetNamespace="http://iteco.ru/esz/EszServer/MpguSearchService">
<xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
...

Exclude contract namespace import, as this results in a stack overflow error in some parsers
@ArtemevAL ArtemevAL changed the title Update MetaWCFBodyWriter.cs Remove import contract namespace as this results in a stack overflow Oct 20, 2022
@andersjonsson
Copy link
Collaborator

I don't have any experience with MetaWCFBodyWriter but as far as I can tell this should be fine

@andersjonsson andersjonsson merged commit 10d4464 into DigDes:develop Oct 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants