W3C home > Mailing lists > Public > xmlschema-dev@w3.org > September 2004

Re: Are there question marks not allowed in href?

From: Kurt Riede <kurt.riede@web.de>
Date: Fri, 03 Sep 2004 09:26:13 +0200
Message-Id: <555979145@web.de>
To: xmlschema-dev@w3.org
Cc: "KrzysztofNowak" <knowak@mail.desy.de>

Hi Krzysztof,

the question marks are not the problem, but you must encode ALL ampersants, :

<a
href="http://lipka.desy.de/S1.xhtml?format=png & a m p ; resolution=320 & a m p ; 56=18670 & a m p ; 56=18651 & a m p ; 56=18652">
SomeLink</a>

Maybe you habe to encode it twice, if it is part of a value: & -> & a m p ; a m p ;

....& a m p ; resolution=310 & a m p ; a m p ; 56

(I've included some spaces, otherwise mail systems might decode the ampersant encodings)

regards
Kurt Riede

Krzysztof Nowak <knowak@mail.desy.de> schrieb am 03.09.04 09:11:11:


I'm developing simple xml code. I know that my question is not really
releted to python (at least I'm using pythons twisted.web to write it),
but please, give me simple answer. I have noticed that xml parser is angry
when he is founds this kind of line:

<a
href="http://lipka.desy.de/S1.xhtml?format=png&resolution=320&56=18670&a
mp;56=18651&56=18652">
SomeLink</a>

I'm think its becouse of question marks. I have menaged to escape the
ampersand but found not answer how to smuggle question mark. Could anybody
help me? I'm shure there's a way to make something like this...
Received on Friday, 3 September 2004 07:28:30 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:06 UTC