RE: [security-services] Potential Erratum -- NameIDMappingResponse schema

From
Scott Cantor <>
Date
2007-04-26T16:02:55+00:00
ID
005901c7881c$5780a920$0681fb60$@
Thread
RE: [security-services] Potential Erratum -- NameIDMappingResponse schema
> What is the response supposed to look like if an error Status is being
> returned? I would assume that the NameID/EncryptedID would have to be
> omitted, but the schema doesn't allow it.

Yes, the choice should be minOccurs="0".

One could argue that a validating implementation will throw an error in the case where none is included, and the worst outcome from that is a validation error instead of reporting the server's error.

Since servers in production never return useful errors anyway...

Ok, cop out, but still...

-- Scott