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

Wrong results when comparing nested WSDLs #245

Open
apechinsky opened this issue Feb 10, 2016 · 1 comment
Open

Wrong results when comparing nested WSDLs #245

apechinsky opened this issue Feb 10, 2016 · 1 comment

Comments

@apechinsky
Copy link

See description and test cases in pull request #244

@apechinsky
Copy link
Author

Provided test WSDL has several imports with the same namespace.
Namespaces should be unique.

Some parsers allows such declarations but others not. E.g. xmllint issues validation error:

Element '{http://www.w3.org/2001/XMLSchema}import': Skipping import of schema located at 'City.xsd' for the namespace 'http://TestEngineLib', since this namespace was already imported with 

The purpose of import is to declare namespace. schemaLocation is just a hint which may be omitted.
So DiffGenerator works as expected.

So second testcase (Test.wsdl) may be removed while first testcase (TestParent.wsdl) still make sense.
DiffGenerator doesn't compare WSDL imports.

P.S. To include schemas with the same namespace 'include' tag should be used.

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