xsl-list
[Top] [All Lists]

RE: RE: special characters

2003-05-23 03:44:39
Oooops!.. Thanks for advise.

Cheers

Gary

-----Original Message-----
From: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com]On Behalf Of 
David
Carlisle
Sent: 23 May 2003 11:28
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] special characters



Gary Cornelius wrote

  <xsl:text disable-output-escaping="yes">&eacute;</xsl:text>


It's almost always a bad idea to suggest to someone that they use
disable-output-escaping.

There is no need here in the HTML output method, most processors will
output the character as an entity automatically without you needing to
do any entity definitions or d-o-e in the stylesheet.

  Then setup characters.ent...

  <?xml version="1.0" encoding="UTF-8"?>
  <!-- latin capital letter E with grave, U+00C8 ISOlat1 &#201; -->
  <!ENTITY eacute "&eacute;">

That would be a very dangerous file. It could be considered a denial of
service attack: It will put any XML parser into an infinite loop if it
ever finds an instance of &eacute;.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to which they are addressed. If 
you have received this email in error please reply to this email and then 
delete it. Please note that any views or opinions presented in this email are 
solely those of the author and do not necessarily represent those of Future. 

The recipient should check this email and any attachments for the presence of 
viruses. Future accepts no liability for any damage caused by any virus 
transmitted by this email. 

Future may regularly and randomly monitor outgoing and incoming emails and 
other telecommunications on its email and telecommunications systems. By 
replying to this email you give your consent to such monitoring.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



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