Part of PAZ-996.
authorMike Taylor <mike@indexdata.com>
Fri, 27 Mar 2015 14:21:40 +0000 (14:21 +0000)
committerMike Taylor <mike@indexdata.com>
Fri, 27 Mar 2015 14:21:40 +0000 (14:21 +0000)
Move CC By-ND-SA to end of the list of the recognised licences, since
there is actually no such licence! (There can't be: ND prohibits the
creation of derivatives, and SA is a restriction on the licencing of
derivatives. If anything I guess this is equivclent to straight CC
By-ND, since the SA clause can never fire.)

etc/xsl/solr-pz2.xsl

index 584d10a..f2e49cd 100644 (file)
           <xsl:when test="starts-with(., 'http://creativecommons.org/licenses/by-nd/')">
            CC By-ND
           </xsl:when>
-          <xsl:when test="starts-with(., 'http://creativecommons.org/licenses/by-nd-sa/')">
-           CC By-ND-SA
-          </xsl:when>
           <xsl:when test="starts-with(., 'http://creativecommons.org/licenses/by-nc/')">
            CC By-NC
           </xsl:when>
           <xsl:when test="starts-with(., 'http://creativecommons.org/licenses/by-nc-nd/')">
            CC By-NC-ND
           </xsl:when>
+          <!-- There is actually no such licence as this, but East London uses it anyway! -->
+          <xsl:when test="starts-with(., 'http://creativecommons.org/licenses/by-nd-sa/')">
+           CC By-ND-SA
+          </xsl:when>
           <xsl:otherwise>
            [unknown]
           </xsl:otherwise>