[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: toknize() not working with saxon9
> From: Michael Kay [mailto:mike@xxxxxxxxxxxx] > Sent: Monday, March 15, 2010 05:01 PM > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: RE: toknize() not working with saxon9 > > > > > When I run the same program on a single XML file, > > unparsed-entity-uri() works jsut fine. But when I run it in a > > batch mode, it returns an empty string. > > > > OK, that's getting us somewhere. > > What exactly do you mean by "running it in a batch mode"? > > The XML parser you are using, by the way, is the one that comes with > the > Java run-time library that you are using. So we may need to know which > version of Java this is. I would like to suggest that you switch from > the > built-in XML parser (which has lots of bugs, especially in JDK 6) to > Apache > Xerces. You can do that by downloading Apache Xerces and placing the > JAR > file in a directory lib/endorsed in your Java installation. I would second this. Back three or four months ago I had a transform that was causing all sorts of odd behavior and when I switched to using Xerces, all the issues went away *without* any change to the transform. Everytime I download a new JDK my immediate step after installation is to put Xerces in lib/endorsed. Andy.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|