Wednesday, July 11, 2007

identity.xsd glitch

While applying xmlbeans to identity.xsd I noticed that an imported schema could not be found. "http://www.w3.org/2005/08/addressing/addressing.xsd" does not exist.

My guess was that this is like the claims URL-change. http://schemas.xmlsoap.org/ws/2004/08/addressing/addressing.xsd does exist.
This looks similar to the URL-change CardSpace enthusiasts had to endure when the claims where changed from e.g. "http://schemas.microsoft.com/ws/2005/05/identity/claims/" to "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/". This introduced some work in the openinfocard project.

Microsoft says:
"The schema location for namespace http://www.w3.org/2005/08/addressing should be http://www.w3.org/2006/03/addressing/ws-addr.xsd.

The schema at http://schemas.xmlsoap.org/ws/2005/05/identity/identity.xsd will be fixed."

A quick search using Eclipse throug the openinfocard source code found 12 matches for the current URL...

It seems we need to introduce a new constant:
static final String WSA_NAMESPACE_06_03 = "http://www.w3.org/2006/03/addressing";
static final String WSA_NAMESPACE_04_08 = "http://schemas.xmlsoap.org/ws/2004/08/addressing";
static final String WSA_NAMESPACE_05_08 = "http://www.w3.org/2005/08/addressing";
static final String WSA_PREFIX = "wsa";

No comments: