You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by gn...@apache.org on 2010/03/11 09:25:50 UTC
svn commit: r921719 -
/felix/trunk/bundleplugin/src/main/resources/org/apache/felix/bundleplugin/blueprint.xsl
Author: gnodet
Date: Thu Mar 11 08:25:49 2010
New Revision: 921719
URL: http://svn.apache.org/viewvc?rev=921719&view=rev
Log:
FELIX-2175: Improve the Blueprint component to parse / introspect blueprint configuration files and generate OBR service requirements / capabilities accordingly
Modified:
felix/trunk/bundleplugin/src/main/resources/org/apache/felix/bundleplugin/blueprint.xsl
Modified: felix/trunk/bundleplugin/src/main/resources/org/apache/felix/bundleplugin/blueprint.xsl
URL: http://svn.apache.org/viewvc/felix/trunk/bundleplugin/src/main/resources/org/apache/felix/bundleplugin/blueprint.xsl?rev=921719&r1=921718&r2=921719&view=diff
==============================================================================
--- felix/trunk/bundleplugin/src/main/resources/org/apache/felix/bundleplugin/blueprint.xsl (original)
+++ felix/trunk/bundleplugin/src/main/resources/org/apache/felix/bundleplugin/blueprint.xsl Thu Mar 11 08:25:49 2010
@@ -30,7 +30,9 @@
<xsl:if test="not($nsh_interface = '' or $nsh_namespace = '')">
<xsl:for-each select="descendant-or-self::node() | descendant-or-self::node()/attribute::*">
- <xsl:if test="not(namespace-uri() = 'http://www.osgi.org/xmlns/blueprint/v1.0.0' or namespace-uri() = '')">
+ <xsl:if test="not(namespace-uri() = 'http://www.osgi.org/xmlns/blueprint/v1.0.0'
+ or namespace-uri() = 'http://www.w3.org/2001/XMLSchema-instance'
+ or namespace-uri() = '')">
<xsl:value-of select="concat('Import-Service:', $nsh_interface, ';', $nsh_namespace, '="', namespace-uri(), '"')" />
<xsl:text>
</xsl:text>