UPD Mail Archive: Re: UPD> Copyright for UPDF device descrip

Re: UPD> Copyright for UPDF device description

From: Mark Hamzy (hamzy@us.ibm.com)
Date: Fri Sep 20 2002 - 11:35:02 EDT

  • Next message: Mark Hamzy: "Re: UPD> Copyright for UPDF device description"

    I am going to have to throw a tomato here.

    I think that the syntax is really awkward here and it seems that it was
    done this way to avoid a problem in the xml editor.
    What problem are you trying to solve here? Copyright is required but the
    MIT attributes are not.
    So, I can design a updf file that contains a different copyright in the
    comments without the MIT copyright in the Copyright tag:

    <!--
         This library is free software; you can redistribute it and/or modify
         it under the terms of the GNU Lesser General Public License as
    published
         by the Free Software Foundation; either version 2.1 of the License, or
         (at your option) any later version.

         This library is distributed in the hope that it will be useful,
         but WITHOUT ANY WARRANTY; without even the implied warranty of
         MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
         the GNU Lesser General Public License for more details.

         You should have received a copy of the GNU Lesser General Public
    License
         along with this library; if not, write to the Free Software
         Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
    USA
    -->
    <?xml version = "1.0" encoding = "UTF-8"?>
    <DeviceCapabilities FileTypeIdentification = "Master description of device
    or optional unit" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation = "UPDF.xsd">
          <Copyright Company = "Copyright (c) 2002 &lt;Murphy rules>"/>
    ...
    </DeviceCapabilities>

    Your xsd cannot stop copyright in xml comments and cannot enforce the MIT
    copyright.
    Also, I think that this:
    <!--
       Permission is hereby granted, free of charge, to any person obtaining a
    copy of this software and
       associated documentation files (the "Software"), to deal in the Software
    without restriction, including
       without limitation the rights to use, copy, modify, merge, publish,
    distribute, sublicense, and/or sell
       copies of the Software, and to permit persons to whom the Software is
    furnished to do so, subject to
       the following conditions: The above copyright notice and this permission
    notice shall be included in
       all copies or substantial portions of the Software. THE SOFTWARE IS
    PROVIDED "AS IS",
       WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
    LIMITED
       TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
    AND
       NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
       LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
    OF
       CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH
    THE
       SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
    -->
    is more readable than this this long line:
          <Copyright Company = "Copyright (c) 2002 &lt;copyright holders>"
    MIT_License_Line1 = "Permission is hereby granted, free of charge, to any
    person obtaining" MIT_License_Line2 = "a copy of this software and
    associated documentation files (the" MIT_License_Line3 = "
    &quot;Software&quot;), to deal in the Software without restriction,
    including" MIT_License_Line4 = "without limitation the rights to use, copy,
    modify, merge, publish," MIT_License_Line5 = "distribute, sublicense,
    and/or sell copies of the Software, and to" MIT_License_Line6 = "permit
    persons to whom the Software is furnished to do so, subject to"
    MIT_License_Line7 = "the following conditions:" MIT_License_Line8 = "The
    above copyright notice and this permission notice shall be"
    MIT_License_Line9 = "included in all copies or substantial portions of the
    Software." MIT_License_Line10 = "THE SOFTWARE IS PROVIDED &quot;AS
    IS&quot;, WITHOUT WARRANTY OF ANY KIND," MIT_License_Line11 = "EXPRESS OR
    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF" MIT_License_Line12
    = "MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT."
    MIT_License_Line13 = "IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
    LIABLE FOR ANY" MIT_License_Line14 = "CLAIM, DAMAGES OR OTHER LIABILITY,
    WHETHER IN AN ACTION OF CONTRACT," MIT_License_Line15 = "TORT OR OTHERWISE,
    ARISING FROM, OUT OF OR IN CONNECTION WITH THE" MIT_License_Line16
    = "SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE."/>

    At best you can make the MIT attributes required but it still does not stop
    copyright statements in the comments.

    Tomatoes, ... err comments, anyone?

    Mark

    Take a look at the Linux Omni Printer Driver Framework at
    http://www.ibm.com/linux/ltc/projects/omni/



    This archive was generated by hypermail 2b29 : Fri Sep 20 2002 - 11:41:19 EDT