node-libxml-xsd icon indicating copy to clipboard operation
node-libxml-xsd copied to clipboard

Trying to import soap envelope to xsd giving error

Open Heucles opened this issue 7 years ago • 0 comments

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

Heucles avatar Dec 04 '17 05:12 Heucles