Skip to Content.
Sympa Menu

edugain-discuss - Re: [eduGAIN-discuss] MDS re-publishes schema-invalid metadata

edugain-discuss AT lists.geant.org

Subject: An open discussion list for topics related to the eduGAIN interfederation service.

List archive

Re: [eduGAIN-discuss] MDS re-publishes schema-invalid metadata


Chronological Thread 
  • From: "Cantor, Scott" <cantor.2 AT osu.edu>
  • To: "edugain-discuss AT lists.geant.org" <edugain-discuss AT lists.geant.org>
  • Subject: Re: [eduGAIN-discuss] MDS re-publishes schema-invalid metadata
  • Date: Thu, 26 Sep 2019 17:02:36 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=osu.edu; dmarc=pass action=none header.from=osu.edu; dkim=pass header.d=osu.edu; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=geVeweWthtLscOCtjfJ9/YG/b6fnEHBiS0pZo/lwi5s=; b=n6PgXXRBzP3K91zifakFiK8GUKVHYgeZlpNESU17CcHdXhq1VI/L/9/7iRs1KsLfnfTbs1brd87FwJtvUHjjaTwa65ptPkwipGH6eIjjn0obNf69bOvmtBq8ueTBFTjjCohtLUq4YpIVycLgh0pbnDSo8FLC0qPMSoJUS36/SnfyZCfAS4fQYnQz81ViG1LG94GiNhqkuPYA9ai28Gk9HpAuZJsO7SfDgk+abpdxQRTCR1mNZPHXcrcXPsnWUfspyNZf6+baQC0ATj8leo+7dD3Qo8d6Ol7MQl3YGWfQEJD4oqOzDBForm1xlI2pcP4rVEOR3x8BgDLdJud7VxcwmA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=H50txZKKXxBcPPtG0/fR1Ff/DhaICiIM/shEo5tz0JUR9jn+5vGt2aAWqf0AnjzpJi2tawYzao3naOK67Yeaj0wEWlEfmuBS5z2G93e+M5JN+E4V0La5ph2t7nXJxxAuEDOR5wMBVC1zYIMWsyyz3z/MCm+Nvpu3P1ZbOlM9nuJamJxD95hHj/lPhboDgebhBCLgqQ6sV34djPLYjAnK1zAk118xqv2kMj+04XNZDwLL2EO3bKSMSZOVgUrqWH7T/z9NGtuVxYEELVzt4dooKGRUzKtjufgszvsF9CbEzypMuSXR7rA3WOBBoCKCOMHX+EfaeaquxyNRkUYVH1cB7w==
  • Authentication-results-original: spf=none (sender IP is ) smtp.mailfrom=cantor.2 AT osu.edu;

After Peter brought the issue up to me, I reviewed the xml:lang rules, and
the critical point to me is that an empty xml:lang tag does not mean "ignore"
or "operate under a default" but rather "clear and unset any existing lang"
and act as if it weren't present.

My opinion as the spec author is that that clearly violates the intention of
the required inclusion of xml:lang for most of the metadata elements where
it's defined. xml:lang="" would be treated identically to not having it, and
that's not allowed.

The exception I ran into was Logo, where xml:lang is optional. It seems to me
that while an empty xml:lang is clearly equivalent there to omitting it,
that's an edge case. The code should probably be patched to allow it and
treat those as the same if in fact it doesn't already (I didn't test it yet)
but in the required cases, the outcome of denying the validity is IMHO
correct behavior, even if the exact mechanics by which it's rejecting it are
a bit odd.

I think allowing an empty lang in those cases is in fact a bug and I would
not "fix" Shibboleth to allow it. I don't think eduGAIN has any good reason
to allow it to appear anywhere, except perhaps Logo, and that's probably more
work to carve out an exception for than any obvious benefit to me.

I'll file a bug to review the handling in Logo and anywhere else it shows up
as optional. We have other SP patch work to do so it's relatively timely.

-- Scott





Archive powered by MHonArc 2.6.19.

Top of Page