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

Re: trouble with preceding:: and parsing xhtml

Subject: Re: trouble with preceding:: and parsing xhtml
From: Chris Wolf <cw10025@xxxxxxxxx>
Date: Sun, 04 Oct 2009 10:17:25 -0400
Re:  trouble with preceding:: and parsing xhtml
Just to be clear on this - in order for my stylesheet to work properly,
I MUST use Saxon-9.  The Xalan baked into the Sun JDK-1.5.0_16, i.e.:
"com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl"
does NOT seem to handle the "preceding::" axis properly.

This has been observed by others:

http://www.opensubscriber.com/message/fop-user@xxxxxxxxxxxxxx/316331.html
(this remark is not for xalan, specifically, but I'm seeing the symptom as described)

Thanks for a great product!

 -Chris Wolf

Michael Kay wrote:
>> It worked as in the command line tools - both xalan and 
>> saxon.  Although, as mentioned in the last email, in order to 
>> use saxon, I have to use xerces as the parser.
> 
> I'm not aware of any issues with the aelfred parser incorporated in Saxon
> 6.5.5 that could cause this, but I'm not going to worry about it - it's a
> very old product. One possibility is byte-order-marks: these have become
> more common over the years and early parsers didn't permit them. Generally I
> advise people nowadays to use Saxon 9.x even if their stylesheets don't need
> any XSLT 2.0 facilities.
> 
> Regards,
> 
> Michael Kay
> http://www.saxonica.com/
> http://twitter.com/michaelhkay 

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-2011 All Rights Reserved.