In uri.c,

#define ISA_SUB_DELIM(p)                                                \
      (((*(p) == '!')) || ((*(p) == '$')) || ((*(p) == '&')) ||             \
       ((*(p) == '(')) || ((*(p) == ')')) || ((*(p) == '*')) ||         \
       ((*(p) == '+')) || ((*(p) == ',')) || ((*(p) == ';')) ||         \
       ((*(p) == '=')))

This does not conform to the RFC 3986. The character apos is missing.
RFC -> sub-delims = "!" / "$" / "&" / "'" / "(" / ")" / "*" / "+" / "," / ";" / "=" Consequently, libxml2 breaks with URI containing unescaped apos characters.

Is there a particular motivation to remove the apos character or is this a bug?

François.
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to