You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by ed...@apache.org on 2005/11/01 17:05:35 UTC

svn commit: r330083 - /lenya/trunk/src/modules/opendocument/xslt/style_header.xsl

Author: edith
Date: Tue Nov  1 08:05:31 2005
New Revision: 330083

URL: http://svn.apache.org/viewcvs?rev=330083&view=rev
Log:
the attribute for the style's properties change from style:properties into style:local-name()-properties

Modified:
    lenya/trunk/src/modules/opendocument/xslt/style_header.xsl

Modified: lenya/trunk/src/modules/opendocument/xslt/style_header.xsl
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/modules/opendocument/xslt/style_header.xsl?rev=330083&r1=330082&r2=330083&view=diff
==============================================================================
--- lenya/trunk/src/modules/opendocument/xslt/style_header.xsl (original)
+++ lenya/trunk/src/modules/opendocument/xslt/style_header.xsl Tue Nov  1 08:05:31 2005
@@ -1,59 +1,59 @@
 <!--
-
-   The Contents of this file are made available subject to the terms of
-   either of the following licenses
-
-          - GNU Lesser General Public License Version 2.1
-          - Sun Industry Standards Source License Version 1.1
-
-   Sun Microsystems Inc., October, 2000
-
-   GNU Lesser General Public License Version 2.1
-   =============================================
-   Copyright 2000 by Sun Microsystems, Inc.
-   901 San Antonio Road, Palo Alto, CA 94303, USA
-
-   This library is free software; you can redistribute it and/or
-   modify it under the terms of the GNU Lesser General Public
-   License version 2.1, as published by the Free Software Foundation.
-
-   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
-
-
-   Sun Industry Standards Source License Version 1.1
-   =================================================
-   The contents of this file are subject to the Sun Industry Standards
-   Source License Version 1.1 (the "License"); You may not use this file
-   except in compliance with the License. You may obtain a copy of the
-   License at http://www.openoffice.org/license.html.
-
-   Software provided under this License is provided on an "AS IS" basis,
-   WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
-   WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
-   MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
-   See the License for the specific provisions governing your rights and
-   obligations concerning the Software.
-
-   The Initial Developer of the Original Code is: Sun Microsystems, Inc.
-
-   Copyright © 2002 by Sun Microsystems, Inc.
-
-   All Rights Reserved.
-
-   Contributor(s): _______________________________________
+    The Contents of this file are made available subject to the terms of
+    either of the following licenses
+    
+    - GNU Lesser General Public License Version 2.1
+    - Sun Industry Standards Source License Version 1.1
+    
+    Sun Microsystems Inc., October, 2000
+    
+    GNU Lesser General Public License Version 2.1
+    =============================================
+    Copyright 2000 by Sun Microsystems, Inc.
+    901 San Antonio Road, Palo Alto, CA 94303, USA
+    
+    This library is free software; you can redistribute it and/or
+    modify it under the terms of the GNU Lesser General Public
+    License version 2.1, as published by the Free Software Foundation.
+    
+    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
+    
+    
+    Sun Industry Standards Source License Version 1.1
+    =================================================
+    The contents of this file are subject to the Sun Industry Standards
+    Source License Version 1.1 (the "License"); You may not use this file
+    except in compliance with the License. You may obtain a copy of the
+    License at http://www.openoffice.org/license.html.
+    
+    Software provided under this License is provided on an "AS IS" basis,
+    WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+    WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+    MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+    See the License for the specific provisions governing your rights and
+    obligations concerning the Software.
+    
+    The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+    
+    Copyright © 2002 by Sun Microsystems, Inc.
+    
+    All Rights Reserved.
+    
+    Contributor(s): _______________________________________
 
 -->
 <xsl:stylesheet version="1.0"
 	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-	xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" 		xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" 
+	xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
+	xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" 
 	xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" 
 	xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" 
 	xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" 
@@ -67,7 +67,8 @@
 	xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" 
 	xmlns:math="http://www.w3.org/1998/Math/MathML" 
 	xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0" 
-	xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0" 		xmlns:ooo="http://openoffice.org/2004/office" 
+	xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
+	xmlns:ooo="http://openoffice.org/2004/office" 
 	xmlns:ooow="http://openoffice.org/2004/writer" 
 	xmlns:oooc="http://openoffice.org/2004/calc" 
 	xmlns:dom="http://www.w3.org/2001/xml-events" 
@@ -103,6 +104,7 @@
                 <xsl:text>
 
         </xsl:text>
+        
                 <xsl:call-template name="write-default-styles"/>
 
                 <!-- THE STYLE PROPERTIES OF THE FIRST WRITTEN STYLE (PARENT) IS GIVEN OUT -->
@@ -111,7 +113,6 @@
                      Therefore they are created first.
                      Beginning with the top-level parents (the styles without any parent). -->
                 <xsl:for-each select="$office:styles/style:style[not(@style:parent-style-name)]">
-
                     <xsl:call-template name="write-styleproperty-line"/>
                     <xsl:call-template name="write-styleproperty-lines-for-children"/>
                 </xsl:for-each>
@@ -139,6 +140,7 @@
 		border-style: outset;
 		font-family:arial,sans-serif; font-size:10pt; }
 	</xsl:text>
+       
             //</xsl:comment>
         </xsl:element>
     </xsl:template>
@@ -149,7 +151,7 @@
 
         <xsl:variable name="styleProperties">
             <xsl:call-template name="write-style-properties">
-                <xsl:with-param name="styleAttributePath"   select="current()/style:properties/@*"/>
+                <xsl:with-param name="styleAttributePath"   select="current()/style:*[substring(local-name(), string-length(local-name()) - string-length('-properties') +1) = '-properties']/@*"/>
             </xsl:call-template>
         </xsl:variable>
 
@@ -257,7 +259,7 @@
 
         <xsl:variable name="styleProperties">
             <xsl:call-template name="write-style-properties">
-                <xsl:with-param name="styleAttributePath"   select="current()/style:properties/@*"/>
+                <xsl:with-param name="styleAttributePath"   select="current()/style:*[substring(local-name(), string-length(local-name()) - string-length('-properties') +1) = '-properties']/@*"/>
             </xsl:call-template>
         </xsl:variable>
 



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org


Re: [HEADS-UP] LGPL XSLT code in Lenya repo

Posted by Michael Wechner <mi...@wyona.com>.
Antonio Gallardo wrote:

> Ping! :-)


thanks for the reminder. Will (re)move it tomorrow, but I am too tired
right now ;-)

Thanks

Michi

>
> Best Regards,
>
> Antonio Gallardo.
>
> Michael Wechner wrote:
>
>> Antonio Gallardo wrote:
>>
>>> Hi:
>>>
>>> I got a negative answer. Basically, we cannot include LGPL code, 
>>> even if this is XSLT source code:
>>>
>>> http://mail-archives.apache.org/mod_mbox/www-legal-discuss/200511.mbox/%3cPine.LNX.4.61.0511050134330.16783@kongo%3e 
>>>
>>
>>
>>
>>
>> ok, so we will remove it for the moment and replace it by a simple 
>> placeholder. We can host it at OSCOM or wyona.org
>>
>>>
>>> But there is a workaround, using compiled XSLT code:
>>>
>>> http://mail-archives.apache.org/mod_mbox/www-legal-discuss/200511.mbox/%3c075B484D-934D-4A53-99F1-78A2902910E1@apache.org%3e 
>>>
>>>
>>> If we will like to include compiled XSLT code, then we need to ask. 
>>> The solution to that using xalan is here:
>>> http://mail-archives.apache.org/mod_mbox/www-legal-discuss/200511.mbox/%3c73E12BB1-33AC-4E43-AAF3-4E27D3014262@apache.org%3e 
>>>
>>>
>>> The full thread is here:
>>> http://mail-archives.apache.org/mod_mbox/www-legal-discuss/200511.mbox/thread 
>>>
>>
>>
>>
>>
>> thanks, will take a look at it.
>>
>> Michi
>>
>>>
>>> Best Regards,
>>>
>>> Antonio Gallardo.
>>>
>>>
>>>
>>> Michael Wechner wrote:
>>>
>>>> Antonio Gallardo wrote:
>>>>
>>>>> Michael Wechner wrote:
>>>>>
>>>>>> Antonio Gallardo wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> Is the LGPL allowed to xsl files? I know for java code the 
>>>>>>> answer is not, but for an XSLT file I am not sure.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> I guess the same is true for XSLT, because of redistribution issues.
>>>>>> But isn't it dual-licensed with "Sun Industry Standards Source 
>>>>>> License Version 1.1" which seems to be BSD style license?
>>>>>>
>>>>>> I guess we need to clarify this as soon as possible and if 
>>>>>> necessary remove these files from the Lenya repo
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Agreed. I sent a mail to the legal maillist, asking about this 
>>>>> particular issue. Let see what they will say.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> thanks
>>>>
>>>>>
>>>>>> :-(
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Yep. I know this is going to be sad if the license is not allowed. 
>>>>> I like the idea to have ODS support in Lenya.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> we can still do it, but have to write an XSLT from scratch.
>>>>
>>>> In such a case I would suggest that we do a very simple XSLT (as I 
>>>> did initially)
>>>> and link to OpenOffice.org or some other place where more 
>>>> sohpisticated XSLTs can be
>>>> found in the future.
>>>>
>>>> btw, I have talked to the OOo xml community and they are looking 
>>>> forward to our contribution.
>>>>
>>>> Michi
>>>>
>>>>> Lets cross fingers. ;-)
>>>>>
>>>>> Best Regards,
>>>>>
>>>>> Antonio Gallardo.
>>>>>
>>>>> /me lurking on lenya. ;-)
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
>>>>> For additional commands, e-mail: dev-help@lenya.apache.org
>>>>>
>>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
>>>> For additional commands, e-mail: dev-help@lenya.apache.org
>>>
>>>
>>>
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
>>> For additional commands, e-mail: dev-help@lenya.apache.org
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
>> For additional commands, e-mail: dev-help@lenya.apache.org
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
> For additional commands, e-mail: dev-help@lenya.apache.org
>
>


-- 
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner@wyona.com                        michi@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: [HEADS-UP] LGPL XSLT code in Lenya repo

Posted by Antonio Gallardo <ag...@agssa.net>.
Ping! :-)

Best Regards,

Antonio Gallardo.

Michael Wechner wrote:

> Antonio Gallardo wrote:
>
>> Hi:
>>
>> I got a negative answer. Basically, we cannot include LGPL code, even 
>> if this is XSLT source code:
>>
>> http://mail-archives.apache.org/mod_mbox/www-legal-discuss/200511.mbox/%3cPine.LNX.4.61.0511050134330.16783@kongo%3e 
>>
>
>
>
> ok, so we will remove it for the moment and replace it by a simple 
> placeholder. We can host it at OSCOM or wyona.org
>
>>
>> But there is a workaround, using compiled XSLT code:
>>
>> http://mail-archives.apache.org/mod_mbox/www-legal-discuss/200511.mbox/%3c075B484D-934D-4A53-99F1-78A2902910E1@apache.org%3e 
>>
>>
>> If we will like to include compiled XSLT code, then we need to ask. 
>> The solution to that using xalan is here:
>> http://mail-archives.apache.org/mod_mbox/www-legal-discuss/200511.mbox/%3c73E12BB1-33AC-4E43-AAF3-4E27D3014262@apache.org%3e 
>>
>>
>> The full thread is here:
>> http://mail-archives.apache.org/mod_mbox/www-legal-discuss/200511.mbox/thread 
>>
>
>
>
> thanks, will take a look at it.
>
> Michi
>
>>
>> Best Regards,
>>
>> Antonio Gallardo.
>>
>>
>>
>> Michael Wechner wrote:
>>
>>> Antonio Gallardo wrote:
>>>
>>>> Michael Wechner wrote:
>>>>
>>>>> Antonio Gallardo wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> Is the LGPL allowed to xsl files? I know for java code the answer 
>>>>>> is not, but for an XSLT file I am not sure.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> I guess the same is true for XSLT, because of redistribution issues.
>>>>> But isn't it dual-licensed with "Sun Industry Standards Source 
>>>>> License Version 1.1" which seems to be BSD style license?
>>>>>
>>>>> I guess we need to clarify this as soon as possible and if 
>>>>> necessary remove these files from the Lenya repo
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Agreed. I sent a mail to the legal maillist, asking about this 
>>>> particular issue. Let see what they will say.
>>>
>>>
>>>
>>>
>>>
>>> thanks
>>>
>>>>
>>>>> :-(
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Yep. I know this is going to be sad if the license is not allowed. 
>>>> I like the idea to have ODS support in Lenya.
>>>
>>>
>>>
>>>
>>>
>>> we can still do it, but have to write an XSLT from scratch.
>>>
>>> In such a case I would suggest that we do a very simple XSLT (as I 
>>> did initially)
>>> and link to OpenOffice.org or some other place where more 
>>> sohpisticated XSLTs can be
>>> found in the future.
>>>
>>> btw, I have talked to the OOo xml community and they are looking 
>>> forward to our contribution.
>>>
>>> Michi
>>>
>>>> Lets cross fingers. ;-)
>>>>
>>>> Best Regards,
>>>>
>>>> Antonio Gallardo.
>>>>
>>>> /me lurking on lenya. ;-)
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
>>>> For additional commands, e-mail: dev-help@lenya.apache.org
>>>>
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
>>> For additional commands, e-mail: dev-help@lenya.apache.org
>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
>> For additional commands, e-mail: dev-help@lenya.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
> For additional commands, e-mail: dev-help@lenya.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: [HEADS-UP] LGPL XSLT code in Lenya repo

Posted by Michael Wechner <mi...@wyona.com>.
Antonio Gallardo wrote:

> Hi:
>
> I got a negative answer. Basically, we cannot include LGPL code, even 
> if this is XSLT source code:
>
> http://mail-archives.apache.org/mod_mbox/www-legal-discuss/200511.mbox/%3cPine.LNX.4.61.0511050134330.16783@kongo%3e 
>


ok, so we will remove it for the moment and replace it by a simple 
placeholder. We can host it at OSCOM or wyona.org

>
> But there is a workaround, using compiled XSLT code:
>
> http://mail-archives.apache.org/mod_mbox/www-legal-discuss/200511.mbox/%3c075B484D-934D-4A53-99F1-78A2902910E1@apache.org%3e 
>
>
> If we will like to include compiled XSLT code, then we need to ask. 
> The solution to that using xalan is here:
> http://mail-archives.apache.org/mod_mbox/www-legal-discuss/200511.mbox/%3c73E12BB1-33AC-4E43-AAF3-4E27D3014262@apache.org%3e 
>
>
> The full thread is here:
> http://mail-archives.apache.org/mod_mbox/www-legal-discuss/200511.mbox/thread 
>


thanks, will take a look at it.

Michi

>
> Best Regards,
>
> Antonio Gallardo.
>
>
>
> Michael Wechner wrote:
>
>> Antonio Gallardo wrote:
>>
>>> Michael Wechner wrote:
>>>
>>>> Antonio Gallardo wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> Is the LGPL allowed to xsl files? I know for java code the answer 
>>>>> is not, but for an XSLT file I am not sure.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> I guess the same is true for XSLT, because of redistribution issues.
>>>> But isn't it dual-licensed with "Sun Industry Standards Source 
>>>> License Version 1.1" which seems to be BSD style license?
>>>>
>>>> I guess we need to clarify this as soon as possible and if 
>>>> necessary remove these files from the Lenya repo
>>>
>>>
>>>
>>>
>>> Agreed. I sent a mail to the legal maillist, asking about this 
>>> particular issue. Let see what they will say.
>>
>>
>>
>>
>> thanks
>>
>>>
>>>> :-(
>>>
>>>
>>>
>>>
>>> Yep. I know this is going to be sad if the license is not allowed. I 
>>> like the idea to have ODS support in Lenya.
>>
>>
>>
>>
>> we can still do it, but have to write an XSLT from scratch.
>>
>> In such a case I would suggest that we do a very simple XSLT (as I 
>> did initially)
>> and link to OpenOffice.org or some other place where more 
>> sohpisticated XSLTs can be
>> found in the future.
>>
>> btw, I have talked to the OOo xml community and they are looking 
>> forward to our contribution.
>>
>> Michi
>>
>>> Lets cross fingers. ;-)
>>>
>>> Best Regards,
>>>
>>> Antonio Gallardo.
>>>
>>> /me lurking on lenya. ;-)
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
>>> For additional commands, e-mail: dev-help@lenya.apache.org
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
>> For additional commands, e-mail: dev-help@lenya.apache.org
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
> For additional commands, e-mail: dev-help@lenya.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


[HEADS-UP] LGPL XSLT code in Lenya repo (was: Re: svn commit: r330083 - /lenya/trunk/src/modules/opendocument/xslt/style_header.xsl)

Posted by Antonio Gallardo <ag...@agssa.net>.
Hi:

I got a negative answer. Basically, we cannot include LGPL code, even if 
this is XSLT source code:

http://mail-archives.apache.org/mod_mbox/www-legal-discuss/200511.mbox/%3cPine.LNX.4.61.0511050134330.16783@kongo%3e

But there is a workaround, using compiled XSLT code:

http://mail-archives.apache.org/mod_mbox/www-legal-discuss/200511.mbox/%3c075B484D-934D-4A53-99F1-78A2902910E1@apache.org%3e

If we will like to include compiled XSLT code, then we need to ask. The 
solution to that using xalan is here:
http://mail-archives.apache.org/mod_mbox/www-legal-discuss/200511.mbox/%3c73E12BB1-33AC-4E43-AAF3-4E27D3014262@apache.org%3e

The full thread is here:
http://mail-archives.apache.org/mod_mbox/www-legal-discuss/200511.mbox/thread

Best Regards,

Antonio Gallardo.



Michael Wechner wrote:

> Antonio Gallardo wrote:
>
>> Michael Wechner wrote:
>>
>>> Antonio Gallardo wrote:
>>>
>>>> Hi,
>>>>
>>>> Is the LGPL allowed to xsl files? I know for java code the answer 
>>>> is not, but for an XSLT file I am not sure.
>>>
>>>
>>>
>>>
>>> I guess the same is true for XSLT, because of redistribution issues.
>>> But isn't it dual-licensed with "Sun Industry Standards Source 
>>> License Version 1.1" which seems to be BSD style license?
>>>
>>> I guess we need to clarify this as soon as possible and if necessary 
>>> remove these files from the Lenya repo
>>
>>
>>
>> Agreed. I sent a mail to the legal maillist, asking about this 
>> particular issue. Let see what they will say.
>
>
>
> thanks
>
>>
>>> :-(
>>
>>
>>
>> Yep. I know this is going to be sad if the license is not allowed. I 
>> like the idea to have ODS support in Lenya.
>
>
>
> we can still do it, but have to write an XSLT from scratch.
>
> In such a case I would suggest that we do a very simple XSLT (as I did 
> initially)
> and link to OpenOffice.org or some other place where more 
> sohpisticated XSLTs can be
> found in the future.
>
> btw, I have talked to the OOo xml community and they are looking 
> forward to our contribution.
>
> Michi
>
>> Lets cross fingers. ;-)
>>
>> Best Regards,
>>
>> Antonio Gallardo.
>>
>> /me lurking on lenya. ;-)
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
>> For additional commands, e-mail: dev-help@lenya.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
> For additional commands, e-mail: dev-help@lenya.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: svn commit: r330083 - /lenya/trunk/src/modules/opendocument/xslt/style_header.xsl

Posted by Michael Wechner <mi...@wyona.com>.
Antonio Gallardo wrote:

> Michael Wechner wrote:
>
>> Antonio Gallardo wrote:
>>
>>> Hi,
>>>
>>> Is the LGPL allowed to xsl files? I know for java code the answer is 
>>> not, but for an XSLT file I am not sure.
>>
>>
>>
>> I guess the same is true for XSLT, because of redistribution issues.
>> But isn't it dual-licensed with "Sun Industry Standards Source 
>> License Version 1.1" which seems to be BSD style license?
>>
>> I guess we need to clarify this as soon as possible and if necessary 
>> remove these files from the Lenya repo
>
>
> Agreed. I sent a mail to the legal maillist, asking about this 
> particular issue. Let see what they will say.


thanks

>
>> :-(
>
>
> Yep. I know this is going to be sad if the license is not allowed. I 
> like the idea to have ODS support in Lenya.


we can still do it, but have to write an XSLT from scratch.

In such a case I would suggest that we do a very simple XSLT (as I did 
initially)
and link to OpenOffice.org or some other place where more sohpisticated 
XSLTs can be
found in the future.

btw, I have talked to the OOo xml community and they are looking forward 
to our contribution.

Michi

> Lets cross fingers. ;-)
>
> Best Regards,
>
> Antonio Gallardo.
>
> /me lurking on lenya. ;-)
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
> For additional commands, e-mail: dev-help@lenya.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: svn commit: r330083 - /lenya/trunk/src/modules/opendocument/xslt/style_header.xsl

Posted by Antonio Gallardo <ag...@agssa.net>.
Michael Wechner wrote:

> Antonio Gallardo wrote:
>
>> Hi,
>>
>> Is the LGPL allowed to xsl files? I know for java code the answer is 
>> not, but for an XSLT file I am not sure.
>
>
> I guess the same is true for XSLT, because of redistribution issues.
> But isn't it dual-licensed with "Sun Industry Standards Source License 
> Version 1.1" which seems to be BSD style license?
>
> I guess we need to clarify this as soon as possible and if necessary 
> remove these files from the Lenya repo

Agreed. I sent a mail to the legal maillist, asking about this 
particular issue. Let see what they will say.

> :-(

Yep. I know this is going to be sad if the license is not allowed. I 
like the idea to have ODS support in Lenya. Lets cross fingers. ;-)

Best Regards,

Antonio Gallardo.

/me lurking on lenya. ;-)


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: svn commit: r330083 - /lenya/trunk/src/modules/opendocument/xslt/style_header.xsl

Posted by Michael Wechner <mi...@wyona.com>.
Antonio Gallardo wrote:

> Hi,
> 
> Is the LGPL allowed to xsl files? I know for java code the answer is 
> not, but for an XSLT file I am not sure.

I guess the same is true for XSLT, because of redistribution issues.
But isn't it dual-licensed with "Sun Industry Standards Source License 
Version 1.1" which seems to be BSD style license?

I guess we need to clarify this as soon as possible and if necessary 
remove these files from the Lenya repo :-(

WDYT?

Michi

> 
> Best Regards,
> 
> Antonio Gallardo.
> 
> edith@apache.org wrote:
> 
>> Author: edith
>> Date: Tue Nov  1 08:05:31 2005
>> New Revision: 330083
>>
>> URL: http://svn.apache.org/viewcvs?rev=330083&view=rev
>> Log:
>> the attribute for the style's properties change from style:properties 
>> into style:local-name()-properties
>>
>> Modified:
>>    lenya/trunk/src/modules/opendocument/xslt/style_header.xsl
>>
>> Modified: lenya/trunk/src/modules/opendocument/xslt/style_header.xsl
>> URL: 
>> http://svn.apache.org/viewcvs/lenya/trunk/src/modules/opendocument/xslt/style_header.xsl?rev=330083&r1=330082&r2=330083&view=diff 
>>
>> ============================================================================== 
>>
>> --- lenya/trunk/src/modules/opendocument/xslt/style_header.xsl (original)
>> +++ lenya/trunk/src/modules/opendocument/xslt/style_header.xsl Tue 
>> Nov  1 08:05:31 2005
>> @@ -1,59 +1,59 @@
>> <!--
>> -
>> -   The Contents of this file are made available subject to the terms of
>> -   either of the following licenses
>> -
>> -          - GNU Lesser General Public License Version 2.1
>> -          - Sun Industry Standards Source License Version 1.1
>> -
>> -   Sun Microsystems Inc., October, 2000
>> -
>> -   GNU Lesser General Public License Version 2.1
>> -   =============================================
>> -   Copyright 2000 by Sun Microsystems, Inc.
>> -   901 San Antonio Road, Palo Alto, CA 94303, USA
>> -
>> -   This library is free software; you can redistribute it and/or
>> -   modify it under the terms of the GNU Lesser General Public
>> -   License version 2.1, as published by the Free Software Foundation.
>> -
>> -   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
>> -
>> -
>> -   Sun Industry Standards Source License Version 1.1
>> -   =================================================
>> -   The contents of this file are subject to the Sun Industry Standards
>> -   Source License Version 1.1 (the "License"); You may not use this file
>> -   except in compliance with the License. You may obtain a copy of the
>> -   License at http://www.openoffice.org/license.html.
>> -
>> -   Software provided under this License is provided on an "AS IS" basis,
>> -   WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
>> -   WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
>> -   MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
>> -   See the License for the specific provisions governing your rights and
>> -   obligations concerning the Software.
>> -
>> -   The Initial Developer of the Original Code is: Sun Microsystems, Inc.
>> -
>> -   Copyright © 2002 by Sun Microsystems, Inc.
>> -
>> -   All Rights Reserved.
>> -
>> -   Contributor(s): _______________________________________
>> +    The Contents of this file are made available subject to the terms of
>> +    either of the following licenses
>> +    +    - GNU Lesser General Public License Version 2.1
>> +    - Sun Industry Standards Source License Version 1.1
>> +    +    Sun Microsystems Inc., October, 2000
>> +    +    GNU Lesser General Public License Version 2.1
>> +    =============================================
>> +    Copyright 2000 by Sun Microsystems, Inc.
>> +    901 San Antonio Road, Palo Alto, CA 94303, USA
>> +    +    This library is free software; you can redistribute it and/or
>> +    modify it under the terms of the GNU Lesser General Public
>> +    License version 2.1, as published by the Free Software Foundation.
>> +    +    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
>> +    +    +    Sun Industry Standards Source License Version 1.1
>> +    =================================================
>> +    The contents of this file are subject to the Sun Industry Standards
>> +    Source License Version 1.1 (the "License"); You may not use this 
>> file
>> +    except in compliance with the License. You may obtain a copy of the
>> +    License at http://www.openoffice.org/license.html.
>> +    +    Software provided under this License is provided on an "AS 
>> IS" basis,
>> +    WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
>> +    WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
>> +    MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
>> +    See the License for the specific provisions governing your rights 
>> and
>> +    obligations concerning the Software.
>> +    +    The Initial Developer of the Original Code is: Sun 
>> Microsystems, Inc.
>> +    +    Copyright © 2002 by Sun Microsystems, Inc.
>> +    +    All Rights Reserved.
>> +    +    Contributor(s): _______________________________________
>>
>> -->
>> <xsl:stylesheet version="1.0"
>>     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>> -    
>> xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"         
>> xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" +    
>> xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
>> +    xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" 
>>     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" 
>>     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" 
>>     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" @@ 
>> -67,7 +67,8 @@
>>     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" 
>>     xmlns:math="http://www.w3.org/1998/Math/MathML" 
>>     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0" -    
>> xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"         
>> xmlns:ooo="http://openoffice.org/2004/office" +    
>> xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
>> +    xmlns:ooo="http://openoffice.org/2004/office" 
>>     xmlns:ooow="http://openoffice.org/2004/writer" 
>>     xmlns:oooc="http://openoffice.org/2004/calc" 
>>     xmlns:dom="http://www.w3.org/2001/xml-events" @@ -103,6 +104,7 @@
>>                 <xsl:text>
>>
>>         </xsl:text>
>> +                        <xsl:call-template name="write-default-styles"/>
>>
>>                 <!-- THE STYLE PROPERTIES OF THE FIRST WRITTEN STYLE 
>> (PARENT) IS GIVEN OUT -->
>> @@ -111,7 +113,6 @@
>>                      Therefore they are created first.
>>                      Beginning with the top-level parents (the styles 
>> without any parent). -->
>>                 <xsl:for-each 
>> select="$office:styles/style:style[not(@style:parent-style-name)]">
>> -
>>                     <xsl:call-template name="write-styleproperty-line"/>
>>                     <xsl:call-template 
>> name="write-styleproperty-lines-for-children"/>
>>                 </xsl:for-each>
>> @@ -139,6 +140,7 @@
>>         border-style: outset;
>>         font-family:arial,sans-serif; font-size:10pt; }
>>     </xsl:text>
>> +                   //</xsl:comment>
>>         </xsl:element>
>>     </xsl:template>
>> @@ -149,7 +151,7 @@
>>
>>         <xsl:variable name="styleProperties">
>>             <xsl:call-template name="write-style-properties">
>> -                <xsl:with-param name="styleAttributePath"   
>> select="current()/style:properties/@*"/>
>> +                <xsl:with-param name="styleAttributePath"   
>> select="current()/style:*[substring(local-name(), 
>> string-length(local-name()) - string-length('-properties') +1) = 
>> '-properties']/@*"/>
>>             </xsl:call-template>
>>         </xsl:variable>
>>
>> @@ -257,7 +259,7 @@
>>
>>         <xsl:variable name="styleProperties">
>>             <xsl:call-template name="write-style-properties">
>> -                <xsl:with-param name="styleAttributePath"   
>> select="current()/style:properties/@*"/>
>> +                <xsl:with-param name="styleAttributePath"   
>> select="current()/style:*[substring(local-name(), 
>> string-length(local-name()) - string-length('-properties') +1) = 
>> '-properties']/@*"/>
>>             </xsl:call-template>
>>         </xsl:variable>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
>> For additional commands, e-mail: commits-help@lenya.apache.org
>>  
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
> For additional commands, e-mail: dev-help@lenya.apache.org
> 
> 


-- 
Michael Wechner
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com              http://cocoon.apache.org/lenya/
michael.wechner@wyona.com                        michi@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: svn commit: r330083 - /lenya/trunk/src/modules/opendocument/xslt/style_header.xsl

Posted by Antonio Gallardo <ag...@agssa.net>.
Hi,

Is the LGPL allowed to xsl files? I know for java code the answer is 
not, but for an XSLT file I am not sure.

Best Regards,

Antonio Gallardo.

edith@apache.org wrote:

>Author: edith
>Date: Tue Nov  1 08:05:31 2005
>New Revision: 330083
>
>URL: http://svn.apache.org/viewcvs?rev=330083&view=rev
>Log:
>the attribute for the style's properties change from style:properties into style:local-name()-properties
>
>Modified:
>    lenya/trunk/src/modules/opendocument/xslt/style_header.xsl
>
>Modified: lenya/trunk/src/modules/opendocument/xslt/style_header.xsl
>URL: http://svn.apache.org/viewcvs/lenya/trunk/src/modules/opendocument/xslt/style_header.xsl?rev=330083&r1=330082&r2=330083&view=diff
>==============================================================================
>--- lenya/trunk/src/modules/opendocument/xslt/style_header.xsl (original)
>+++ lenya/trunk/src/modules/opendocument/xslt/style_header.xsl Tue Nov  1 08:05:31 2005
>@@ -1,59 +1,59 @@
> <!--
>-
>-   The Contents of this file are made available subject to the terms of
>-   either of the following licenses
>-
>-          - GNU Lesser General Public License Version 2.1
>-          - Sun Industry Standards Source License Version 1.1
>-
>-   Sun Microsystems Inc., October, 2000
>-
>-   GNU Lesser General Public License Version 2.1
>-   =============================================
>-   Copyright 2000 by Sun Microsystems, Inc.
>-   901 San Antonio Road, Palo Alto, CA 94303, USA
>-
>-   This library is free software; you can redistribute it and/or
>-   modify it under the terms of the GNU Lesser General Public
>-   License version 2.1, as published by the Free Software Foundation.
>-
>-   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
>-
>-
>-   Sun Industry Standards Source License Version 1.1
>-   =================================================
>-   The contents of this file are subject to the Sun Industry Standards
>-   Source License Version 1.1 (the "License"); You may not use this file
>-   except in compliance with the License. You may obtain a copy of the
>-   License at http://www.openoffice.org/license.html.
>-
>-   Software provided under this License is provided on an "AS IS" basis,
>-   WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
>-   WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
>-   MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
>-   See the License for the specific provisions governing your rights and
>-   obligations concerning the Software.
>-
>-   The Initial Developer of the Original Code is: Sun Microsystems, Inc.
>-
>-   Copyright © 2002 by Sun Microsystems, Inc.
>-
>-   All Rights Reserved.
>-
>-   Contributor(s): _______________________________________
>+    The Contents of this file are made available subject to the terms of
>+    either of the following licenses
>+    
>+    - GNU Lesser General Public License Version 2.1
>+    - Sun Industry Standards Source License Version 1.1
>+    
>+    Sun Microsystems Inc., October, 2000
>+    
>+    GNU Lesser General Public License Version 2.1
>+    =============================================
>+    Copyright 2000 by Sun Microsystems, Inc.
>+    901 San Antonio Road, Palo Alto, CA 94303, USA
>+    
>+    This library is free software; you can redistribute it and/or
>+    modify it under the terms of the GNU Lesser General Public
>+    License version 2.1, as published by the Free Software Foundation.
>+    
>+    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
>+    
>+    
>+    Sun Industry Standards Source License Version 1.1
>+    =================================================
>+    The contents of this file are subject to the Sun Industry Standards
>+    Source License Version 1.1 (the "License"); You may not use this file
>+    except in compliance with the License. You may obtain a copy of the
>+    License at http://www.openoffice.org/license.html.
>+    
>+    Software provided under this License is provided on an "AS IS" basis,
>+    WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
>+    WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
>+    MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
>+    See the License for the specific provisions governing your rights and
>+    obligations concerning the Software.
>+    
>+    The Initial Developer of the Original Code is: Sun Microsystems, Inc.
>+    
>+    Copyright © 2002 by Sun Microsystems, Inc.
>+    
>+    All Rights Reserved.
>+    
>+    Contributor(s): _______________________________________
> 
> -->
> <xsl:stylesheet version="1.0"
> 	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>-	xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" 		xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" 
>+	xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
>+	xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" 
> 	xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" 
> 	xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" 
> 	xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" 
>@@ -67,7 +67,8 @@
> 	xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" 
> 	xmlns:math="http://www.w3.org/1998/Math/MathML" 
> 	xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0" 
>-	xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0" 		xmlns:ooo="http://openoffice.org/2004/office" 
>+	xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
>+	xmlns:ooo="http://openoffice.org/2004/office" 
> 	xmlns:ooow="http://openoffice.org/2004/writer" 
> 	xmlns:oooc="http://openoffice.org/2004/calc" 
> 	xmlns:dom="http://www.w3.org/2001/xml-events" 
>@@ -103,6 +104,7 @@
>                 <xsl:text>
> 
>         </xsl:text>
>+        
>                 <xsl:call-template name="write-default-styles"/>
> 
>                 <!-- THE STYLE PROPERTIES OF THE FIRST WRITTEN STYLE (PARENT) IS GIVEN OUT -->
>@@ -111,7 +113,6 @@
>                      Therefore they are created first.
>                      Beginning with the top-level parents (the styles without any parent). -->
>                 <xsl:for-each select="$office:styles/style:style[not(@style:parent-style-name)]">
>-
>                     <xsl:call-template name="write-styleproperty-line"/>
>                     <xsl:call-template name="write-styleproperty-lines-for-children"/>
>                 </xsl:for-each>
>@@ -139,6 +140,7 @@
> 		border-style: outset;
> 		font-family:arial,sans-serif; font-size:10pt; }
> 	</xsl:text>
>+       
>             //</xsl:comment>
>         </xsl:element>
>     </xsl:template>
>@@ -149,7 +151,7 @@
> 
>         <xsl:variable name="styleProperties">
>             <xsl:call-template name="write-style-properties">
>-                <xsl:with-param name="styleAttributePath"   select="current()/style:properties/@*"/>
>+                <xsl:with-param name="styleAttributePath"   select="current()/style:*[substring(local-name(), string-length(local-name()) - string-length('-properties') +1) = '-properties']/@*"/>
>             </xsl:call-template>
>         </xsl:variable>
> 
>@@ -257,7 +259,7 @@
> 
>         <xsl:variable name="styleProperties">
>             <xsl:call-template name="write-style-properties">
>-                <xsl:with-param name="styleAttributePath"   select="current()/style:properties/@*"/>
>+                <xsl:with-param name="styleAttributePath"   select="current()/style:*[substring(local-name(), string-length(local-name()) - string-length('-properties') +1) = '-properties']/@*"/>
>             </xsl:call-template>
>         </xsl:variable>
> 
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
>For additional commands, e-mail: commits-help@lenya.apache.org
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org