summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Pokorný <jpokorny@redhat.com>2013-03-19 18:22:56 +0100
committerJan Pokorný <jpokorny@redhat.com>2013-03-19 18:28:32 +0100
commit1f4cad9b54504194566036dc650bbef0e28f00e7 (patch)
tree31c21c901072192a586f2ca1249a1a30158a3bd2
parent6b97e4543f0dce29e19ca36b575f1141c7d4f135 (diff)
downloadontogen-1f4cad9b54504194566036dc650bbef0e28f00e7.tar.gz
ontogen-1f4cad9b54504194566036dc650bbef0e28f00e7.tar.xz
ontogen-1f4cad9b54504194566036dc650bbef0e28f00e7.zip
Fix bug with being foaf:mbox XPath link being inserted verbatim
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
-rw-r--r--ns-schema.xsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/ns-schema.xsl b/ns-schema.xsl
index 3bd72e4..8c4fdc4 100644
--- a/ns-schema.xsl
+++ b/ns-schema.xsl
@@ -330,7 +330,7 @@
<a href="/info/disclaimer#webmastermail">See contact information</a>
</xsl:when>
<xsl:otherwise>
- <a href=".//foaf:mbox/@rdf:resource"><xsl:value-of select=".//foaf:mbox/@rdf:resource"/></a>
+ <a href="{.//foaf:mbox/@rdf:resource}"><xsl:value-of select=".//foaf:mbox/@rdf:resource"/></a>
</xsl:otherwise>
</xsl:choose>
)