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

Trying to import soap envelope to xsd giving error #26

Open
Heucles opened this issue Dec 4, 2017 · 0 comments
Open

Trying to import soap envelope to xsd giving error #26

Heucles opened this issue Dec 4, 2017 · 0 comments

Comments

@Heucles
Copy link

Heucles commented Dec 4, 2017

When I try to add the following line to my xsd file in order to import the envelope namespace:
<xs:import namespace="http://schemas.xmlsoap.org/soap/envelope/" schemaLocation="http://schemas.xmlsoap.org/soap/envelope/"/>
It gives me the following messages:
I/O warning : failed to load external entity "http://schemas.xmlsoap.org/soap/envelope/"
and
[ { Error: Element '{http://schemas.xmlsoap.org/soap/envelope/}Envelope': No matching global declaration available for the validation root. domain: 17, code: 1845, level: 2, column: 0, line: 2 } ]
which seems normal considering the message above.

But the first one doesn´t make sense to me, it should be able to import that namespace, right?
The node version is 8.4.0 and the node-libxml-xsd version is: 1.11.4

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