[XML-SIG] Are question marks allowed in href?

Daniel Veillard veillard at redhat.com
Fri Sep 3 09:29:07 CEST 2004


On Fri, Sep 03, 2004 at 08:48:46AM +0200, Krzysztof Nowak wrote:
> 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&amp;resolution=320&amp;56=18670&amp;56=18651&56=18652">
> SomeLink</a>
> 
> I'm think its becouse of question marks. I have menaged to escape the

  Question mark are fine in attribute value. but you still have an unescaped
ampersand.

Daniel

-- 
Daniel Veillard      | Red Hat Desktop team http://redhat.com/
veillard at redhat.com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/


More information about the XML-SIG mailing list