[xslt] charset of template names
- From: Xavier Cazin <cazinx online fr>
- To: xslt gnome org
- Subject: [xslt] charset of template names
- Date: 17 Jan 2002 21:21:16 +0100
Hi,
I've noticed what I'd call a bug unless someone opens my eyes. Given this
xml document :
<?xml version="1.0" encoding="iso-8859-1"?>
<problème>Strange!</problème>
the following transformation sheet doesn't work as one would expect:
<?xml version="1.0" encoding="iso-8859-1"?>
<xsl:transform
version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="problème">
<xsl:message>
<xsl:text>Which problem?</xsl:text>
</xsl:message>
</xsl:template>
</xsl:transform>
It seems that although the node name is converted from latin1 into utf8,
xsltProcessOneNode doesn't find the matching template.
I've checked: e grave belongs to http://www.w3.org/TR/REC-xml#NT-Letter!
Cheers,
Xavier.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]