Skip to content

Trying to import soap envelope to xsd giving error #26

Description

@Heucles

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions