xsl-list
[Top] [All Lists]

Re: & as & in URLs not for HTML?

2005-02-08 18:03:16
christof(_dot_)hoeke(_at_)e-7(_dot_)com 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 & 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

--~------------------------------------------------------------------
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(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>