You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@synapse.apache.org by ru...@apache.org on 2010/12/12 05:07:17 UTC

svn commit: r1044763 - /synapse/branches/2.0/modules/migrator/src/main/resources/synapse-configuration-migrator.xslt

Author: ruwan
Date: Sun Dec 12 04:07:17 2010
New Revision: 1044763

URL: http://svn.apache.org/viewvc?rev=1044763&view=rev
Log:
Adding the xsi:schemaLocation to the migrated synapse configuration

Modified:
    synapse/branches/2.0/modules/migrator/src/main/resources/synapse-configuration-migrator.xslt

Modified: synapse/branches/2.0/modules/migrator/src/main/resources/synapse-configuration-migrator.xslt
URL: http://svn.apache.org/viewvc/synapse/branches/2.0/modules/migrator/src/main/resources/synapse-configuration-migrator.xslt?rev=1044763&r1=1044762&r2=1044763&view=diff
==============================================================================
--- synapse/branches/2.0/modules/migrator/src/main/resources/synapse-configuration-migrator.xslt (original)
+++ synapse/branches/2.0/modules/migrator/src/main/resources/synapse-configuration-migrator.xslt Sun Dec 12 04:07:17 2010
@@ -26,6 +26,7 @@ version to the 2.x compatible version
                 xmlns:syn="http://ws.apache.org/ns/synapse"
                 xmlns:spring="http://ws.apache.org/ns/synapse/spring"
                 xmlns:synNew="http://ws.apache.org/ns/synapse"
+                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                 exclude-result-prefixes="syn">
 
     <xsl:output method="xml" indent="yes" encoding="UTF-8"/>
@@ -65,6 +66,7 @@ version to the 2.x compatible version
 
     <xsl:template match="syn:definitions | synNew:definitions" priority="1">
         <xsl:element name="definitions" namespace="http://ws.apache.org/ns/synapse">
+            <xsl:attribute name="xsi:schemaLocation">http://ws.apache.org/ns/synapse http://synapse.apache.org/ns/2010/04/configuration/synapse_config.xsd</xsl:attribute>
             <xsl:text>
 
 </xsl:text>