Subject: Re: [xsl] Unescaping URIs? From: Eliot Kimber <ekimber@xxxxxxxxxxxx> Date: Tue, 15 Feb 2011 08:08:32 -0600 |
OK, my use case is I need to take URIs and generate platform-specific file paths from them. I want to do this in XSLT to avoid dependencies on extension functions. For example, I am generating Ant scripts that require filenames (must support Ant pre 1.8) and thus I have to be able to unescape URIs. I'm not sure I understand why the unescaping process is controversial--I think the rules for escaping and thus unescaping are clear. In the case of a % not followed by either another % or two digits, you have a badly-formed escaped URI and must throw an exception. But I need to review the relevant URI specs before I proceed. I cannot claim any particular expertise in URI details at the moment. Cheers, E. On 2/15/11 5:38 AM, "Florent Georges" <lists@xxxxxxxxxxxx> wrote: > Eliot Kimber wrote: > > Hi, > >> Poking about it looks like there is no built-in XSLT mechanism for >> unescaping. The last message on this list is Mike Kay's from 2006 >> saying "We [the XSLT WG] decided it couldn't provide a complete >> solution." > >> Is this still true? > > Yes and no. Yes this is still not supported, and no, latest Mike's > email on that subject is from 20 Nov 2009 ;-) > > http://xsl.markmail.org/thread/nt3hjtdizvz2ltvx > > Regards, > > -- > Florent Georges > http://fgeorges.org/ > -- Eliot Kimber Senior Solutions Architect "Bringing Strategy, Content, and Technology Together" Main: 512.554.9368 www.reallysi.com www.rsuitecms.com
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Unescaping URIs?, Florent Georges | Thread | [xsl] Building on Solaris SPARC, Floodeenjr, Thomas |
Re: [xsl] Saxon -dtd:off, Liam R E Quin | Date | Re: [xsl] Saxon -dtd:off, Vasu Chakkera |
Month |