[xslt] xsltproc bug



I don't know if my XSLT is correct, but it shouldn't segfault either
way.

Here's the xsltproc version:

  $ xsltproc --version
Using libxml 20419, libxslt 10015 and libexslt 706
xsltproc was compiled against libxml 20419, libxslt 10015 and libexslt
706
libxslt 10015 was compiled against libxml 20419
libexslt 706 was compiled against libxml 20419

Attaching the input files.  The command-line was 
xsltproc addtag.xsl tmp.xml

Mark
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="1.0">

  <xsl:output indent="yes" method="xml"/>

  <xsl:template match="/blob">
    <xsl:attribute name="tag">
      <xsl:value-of select="'1'"/>  
    </xsl:attribute>
  </xsl:template>

</xsl:stylesheet>
<?xml version="1.0" encoding="UTF-8"?>
<blob id="1">
  <subBlob>
	  <blobValue>howdy</blobValue>
  </subBlob>
</blob>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]