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

Load XML errors out on valid XML #28

Open
pootmhicnought opened this issue Sep 14, 2021 · 0 comments
Open

Load XML errors out on valid XML #28

pootmhicnought opened this issue Sep 14, 2021 · 0 comments

Comments

@pootmhicnought
Copy link

TXMLDocument.LoadFromStream given this as input '<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd = "http://www.w3.org/2001/XMLSchema" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" ><SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"></SOAP-ENV:Body ></SOAP-ENV:Envelope >'

Returns a parse error: End tag SOAP-ENV:Body does not match the start tag SOAP-ENV:Body.

Note the spaces before > in these: </SOAP-ENV:Body ></SOAP-ENV:Envelope >'

removing the space works, however this passes XML validation from a variety of source and white space should be allowed in this position.

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

No branches or pull requests

1 participant