Re: [xslt] libxslt escaping urls when outputting HTML



Hi Daniel,

I'm disagreeing with you in this case.

> > Uhm, forgive me if I am mistaken, but isn't "," an ASCII character?
> 
>   Hum, maybe it wasn't precisely the right thing to point to, but
> RFC 2396 is the core spec in this respect. And ',' is in the reserved set.
> 

Characters in the reserved set may occur in a RFC2396 URI
and in fact an URI changes meaning, whether it is escaped or not,
so it's not good to always escape them. 

The application generating the URI must have some clue whether
one particular ',' needs escaping or not.

Characters in the excluded set must always be escaped.  

Regards,
Peter Jacobi




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]