|
Subject: EXCEPTION: javax.xml.transform.TransformerException: Unknown typ e annotation (NULL) in document instance From: "Wolpert, Jake" <JWolpert@xxxxxxxxxxx> Date: Mon, 21 Jun 2004 17:44:51 -0700 |
after upgrading to saxonb8, I started getting
EXCEPTION:
javax.xml.transform.TransformerException: Unknown type annotation (NULL) in
document instance on my for-each after a sql:query
It fails for all similar for-each's on sql:query's.
Any suggestions, Mike?
-----------------------------------------
<xsl:variable name="where"
select="concat('match(xml,keywords)
against (''',$query,''' in boolean mode)')" />
<xsl:comment><xsl:value-of select="$where"
/></xsl:comment>
<xsl:variable name="result">
<sql:query connection="$connection"
column="name,filename,{$where} as score" table="xmls" row-tag="tr"
column-tag="td" where="{$where}" />
</xsl:variable>
<!-- this copy-of works -->
<xsl:copy-of select="$result/tr" />
<!-- this for-each does not -->
<xsl:for-each select="$result/tr">
<xsl:sort select="td[3]"
data-type="number" order="descending"/>
<xsl:comment><xsl:value-of
select="td[3]" /></xsl:comment>
<nobr> <a target="main"
href="{substring-before(substring-after(td[2],'cs/q/'),'.xml')}">
<xsl:value-of disable-output-escaping="yes"
select="normalize-space(td[1])" />
</a>
</nobr>
<br />
</xsl:for-each>
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] How to quote "${abc}" so , Passin, Tom | Thread | RE: [xsl] EXCEPTION: javax.xml.tra, Michael Kay |
| Re: [xsl] Converting HTML to plain , Wendell Piez | Date | RE: [xsl] Converting HTML to plain , Jelmer |
| Month |