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

Re: & as & in URLs not for HTML?

Subject: Re: & as & in URLs not for HTML?
From: Julian Reschke <julian.reschke@xxxxxx>
Date: Wed, 09 Feb 2005 02:03:16 +0100
amp in urls
christof.hoeke@xxxxxxx wrote:
Hi,
We currently use Xalan to transform our XML files to HTML 4. At least the used version (2.4 or 2.5 I think) does not escape & to &amp; for attributes (URLs of img/@src for example). When changing the xsl:output to "xml" and actually producing XHTML it does.

Is this a Xalan only behaviour or actually correct? The W3C validator does not validate HTML4 pages with unescaped ampersands so I suspect a Xalan problem but maybe it actually is correct...

Thanks for any hint

This is a bug in Xalan that has been known for over three years (check <http://issues.eu.apache.org/bugzilla/show_bug.cgi?id=4328>) but apparently never got fixed. As far as I know, it even made it's way into the default XSLT engine shipping with JDK1.4 and later.



Best regards, Julian



-- <green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760

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.