[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: EXCEPTION: javax.xml.transform.TransformerExcepti

Subject: RE: EXCEPTION: javax.xml.transform.TransformerException: Unknown type annotation (NULL) in document instance
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Tue, 22 Jun 2004 13:35:09 +0100
exception in xml
This problem has already been reported on the Saxon list, though I think
this is a slightly different incarnation of it. The problem usually occurs
when a tree is generated from a DOMSource, generating it using sql:query is
exhibiting the same issue. The bug was actually present in earlier releases,
but has become more visible because there are more operations now that
attempt to determine the typed value of a node.

Michael Kay 

> -----Original Message-----
> From: Wolpert, Jake [mailto:JWolpert@xxxxxxxxxxx] 
> Sent: 22 June 2004 01:45
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  EXCEPTION: 
> javax.xml.transform.TransformerException: Unknown type 
> annotation (NULL) in document instance
> 
>  
> 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>
> 				
> 
> --+------------------------------------------------------------------
> XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
> or e-mail: <mailto:xsl-list-unsubscribe@xxxxxxxxxxxxxxxxxxxxxx>
> --+--
> 
> 


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.