Retrieving xmldsig-core-schema.xsd
from the W3C site can take a long time, causing timeouts.
Instead, use a cached local copy in the same directory as your XSD,
<xs:import namespace="http://www.w3.org/2000/09/xmldsig#"
schemaLocation="xmldsig-core-schema.xsd"/>
or use an absolute path as shown by @ulab in the comments:
<xs:import namespace="http://www.w3.org/2000/09/xmldsig#"
schemaLocation="file:///D:/xmldsig-core-schema.xsd" />
See also How to reference a local XML Schema file correctly?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…