XSD Signature issue

后端 未结 1 830
再見小時候
再見小時候 2020-12-11 05:12

I cannot resolve this error about . I need some help please.

Copyright (C) Microsoft Corporation.

相关标签:
1条回答
  • 2020-12-11 05:33

    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?

    0 讨论(0)
提交回复
热议问题