xmlURIEscapeStr(str, "") does not escape the following characters, which are 
reserved characters in RFC 3986 section 2.2:

    "@"
    "!"
    "'"   <--single quote
    "("
    ")"
    "*"

It appears that xmlURIEscapeStr escapes only reserved characters defined in the 
older RFC 2396.

Does libxml2 have a way to escape RFC 3986 reserved characters? I don't need to 
parse the URI, I just need to escape reserved characters.

Thanks,
Gustav

_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xml@gnome.org
https://mail.gnome.org/mailman/listinfo/xml

Reply via email to