FELIX-2175: Improve the Blueprint component to parse / introspect blueprint configuration files and generate OBR service requirements / capabilities accordingly
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@921719 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/bundleplugin/src/main/resources/org/apache/felix/bundleplugin/blueprint.xsl b/bundleplugin/src/main/resources/org/apache/felix/bundleplugin/blueprint.xsl
index b38ac87..4782c6c 100644
--- a/bundleplugin/src/main/resources/org/apache/felix/bundleplugin/blueprint.xsl
+++ b/bundleplugin/src/main/resources/org/apache/felix/bundleplugin/blueprint.xsl
@@ -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>