[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Replacing character entities


Subject: Re: [xsl] Replacing character entities
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 15 Feb 2005 17:33:02 GMT

> Thank you.  I did not try it from the command line, I was using XMLSpy.

You should report that to them.
I would suspect that either your stylesheet or the input is being parsed
twice (or just that they are not parsing character references correctly)
either way, sounds like a bug. Using &#13 as a delimiter in XML though
is very fragile. a real newline would be normalised to #10 or #20, a
space, in an attribute value) so you are relying on the fact that
character references don't get normalized. This is something that you
should be able to rely on (despite evidence to the contrary:-)
but it does seem an odd choice.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. 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
________________________________________________________________________


Current Thread
Keywords
xml