If you're running the stylesheet from the command line, try specifying the
-EDUMP option, which may provide more information about where the failure
is occurring.
I commented out your import and ran it that way against dummy source data
-- first fixing some confusion about which representation of newline you
were using -- and among the other messages I got:
; SystemID:
file:///D:/user/apache/xalan2/xml-xalan/test/./tests/./x/xx.xsl; Line#:
49; Column#: 44
javax.xml.transform.TransformerException: Non-whitespace text is not
allowed in
this position in the stylesheet!
Bringing that up in an editor:
xsl:when test="$BinItem"><xsl:value-of select
... is missing the '<' character.
______________________________________
Joe Kesselman, IBM Next-Generation Web Technologies: XML, XSL and more.
"may'ron DaroQbe'chugh vaj bIrIQbej" ("Put down the squeezebox and nobody
gets hurt.")