简体   繁体   English

规格与WS-Trust 1.3的xsd之间的差异

[英]Difference between the specification and the xsd of WS-Trust 1.3

I realized that there is a difference between what the WS-Trust 1.4 specification says and the xsd that validates it. 我意识到WS-Trust 1.4规范所说的内容与验证它的xsd之间有区别。

The namespace that declares the specification is: http://docs.oasis-open.org/ws-sx/ws-trust/200512 声明该规范的名称空间是: http : //docs.oasis-open.org/ws-sx/ws-trust/200512

But the namespace on the xsd is: http://docs.oasis-open.org/ws-sx/ws-trust/200512/ 但是xsd上的命名空间是: http : //docs.oasis-open.org/ws-sx/ws-trust/200512/

And when I try to validate an xml formed with the WS-Trust specification it gives me an error. 当我尝试验证由WS-Trust规范形成的xml时,出现了错误。

I am correct in saying that the xsd should read http://docs.oasis-open.org/ws-sx/ws-trust/200512 and not http://docs.oasis-open.org/ws-sx/ws-trust/200512/ ? 我的说法是正确的,xsd应该阅读http://docs.oasis-open.org/ws-sx/ws-trust/200512而不是http://docs.oasis-open.org/ws-sx/ws -trust / 200512 /

Reference: 参考:

  • docs.oasis-open.org/ws-sx/ws-trust/200512/ws-trust-1.3-os.html docs.oasis-open.org/ws-sx/ws-trust/200512/ws-trust-1.3-os.html

I don't know where you found the schema you talk about, but the one I found is at 我不知道您在哪里找到要讨论的架构,但我找到的是

http://docs.oasis-open.org/ws-sx/ws-trust/v1.4/ws-trust-1.4.xsd http://docs.oasis-open.org/ws-sx/ws-trust/v1.4/ws-trust-1.4.xsd

and its targetNamespace has no trailing "/". 并且其targetNamespace没有结尾的“ /”。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM