geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject cvs commit: incubator-geronimo/specs/schema/src/xsl ejb_2_0_to_2_1.xsl
Date Wed, 16 Jun 2004 05:59:27 GMT
djencks     2004/06/15 22:59:27

  Modified:    specs/schema/src/test/org/apache/geronimo/schema/xsl
                        EJB20To21XSLTest.java
               specs/schema/src/xsl ejb_2_0_to_2_1.xsl
  Log:
  reenable test w/fixed xsl, it works for me now on osx and linux
  
  Revision  Changes    Path
  1.3       +2 -2      incubator-geronimo/specs/schema/src/test/org/apache/geronimo/schema/xsl/EJB20To21XSLTest.java
  
  Index: EJB20To21XSLTest.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/specs/schema/src/test/org/apache/geronimo/schema/xsl/EJB20To21XSLTest.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- EJB20To21XSLTest.java	16 Jun 2004 00:01:02 -0000	1.2
  +++ EJB20To21XSLTest.java	16 Jun 2004 05:59:27 -0000	1.3
  @@ -38,7 +38,7 @@
    * */
   public class EJB20To21XSLTest extends XMLTestCase {
       public void testNothing() {}
  -    public void Xtest20To21Conversion() throws Exception {
  +    public void test20To21Conversion() throws Exception {
           File srcXml = new File("src/test-data/j2ee_1_3dtd/ejb-jar.xml");
           File xsl2To21 = new File("src/xsl/ejb_2_0_to_2_1.xsl");
           File expectedOutputXml = new File("src/test-data/j2ee_1_3dtd/ejb-jar-21.xml");
  
  
  
  1.2       +17 -9     incubator-geronimo/specs/schema/src/xsl/ejb_2_0_to_2_1.xsl
  
  Index: ejb_2_0_to_2_1.xsl
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/specs/schema/src/xsl/ejb_2_0_to_2_1.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ejb_2_0_to_2_1.xsl	15 Jun 2004 23:00:28 -0000	1.1
  +++ ejb_2_0_to_2_1.xsl	16 Jun 2004 05:59:27 -0000	1.2
  @@ -17,17 +17,17 @@
   -->
   
   <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  +    xmlns="http://java.sun.com/xml/ns/j2ee"
  +    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       version="1.0">
   
       <xsl:output method="xml" indent="yes"/>
   
       <!--Replace dtd with schema "attributes"-->
       <xsl:template match="ejb-jar">
  -        <ejb-jar xmlns="http://java.sun.com/xml/ns/j2ee"
  -          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  -          xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd"
  -          version="2.1">
  -          <xsl:apply-templates/>
  +        <ejb-jar xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd"
  +            version="2.1">
  +            <xsl:apply-templates/>
           </ejb-jar>
   
       </xsl:template>
  @@ -46,25 +46,33 @@
                   <xsl:if test="acknowledge-mode">
                       <activation-config-property>
                           <activation-config-property-name>acknowledgeMode</activation-config-property-name>
  -                        <activation-config-property-value><xsl:value-of select="acknowledge-mode"/></activation-config-property-value>
  +                        <activation-config-property-value>
  +                            <xsl:value-of select="acknowledge-mode"/>
  +                        </activation-config-property-value>
                       </activation-config-property>
                   </xsl:if>
                   <xsl:if test="message-selector">
                       <activation-config-property>
                           <activation-config-property-name>messageSelector</activation-config-property-name>
  -                        <activation-config-property-value><xsl:value-of select="message-selector"/></activation-config-property-value>
  +                        <activation-config-property-value>
  +                            <xsl:value-of select="message-selector"/>
  +                        </activation-config-property-value>
                       </activation-config-property>
                   </xsl:if>
                   <xsl:if test="message-driven-destination/destination-type">
                       <activation-config-property>
                           <activation-config-property-name>destinationType</activation-config-property-name>
  -                        <activation-config-property-value><xsl:value-of select="message-driven-destination/destination-type"/></activation-config-property-value>
  +                        <activation-config-property-value>
  +                            <xsl:value-of select="message-driven-destination/destination-type"/>
  +                        </activation-config-property-value>
                       </activation-config-property>
                   </xsl:if>
                   <xsl:if test="message-driven-destination/subscription-durability">
                       <activation-config-property>
                           <activation-config-property-name>subscriptionDurability</activation-config-property-name>
  -                        <activation-config-property-value><xsl:value-of select="message-driven-destination/subscription-durability"/></activation-config-property-value>
  +                        <activation-config-property-value>
  +                            <xsl:value-of select="message-driven-destination/subscription-durability"/>
  +                        </activation-config-property-value>
                       </activation-config-property>
                   </xsl:if>
               </activation-config>
  
  
  

Mime
View raw message