[xml] Allow invalid XML characters in tag names
- From: "Edward Z. Yang" <edwardzyang thewritingpot com>
- To: xml gnome org
- Subject: [xml] Allow invalid XML characters in tag names
- Date: Sat, 05 Apr 2008 10:47:15 -0400
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I've been working with an HTML5 that uses libxml2's DOM structure as the
output format, and have been running into some problems when dealing
with some types of tags, for example, <a@>. According to the HTML5 spec,
this should be directly inserted into the DOM as such, but this tag name
is invalid XML and libxml2 chokes on it.
Is there any way to "relax" libxml2's character requirements for these
things?
- --
Edward Z. Yang GnuPG: 0x869C48DA
HTML Purifier <http://htmlpurifier.org> Anti-XSS Filter
[[ 3FA8 E9A9 7385 B691 A6FC B3CB A933 BE7D 869C 48DA ]]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFH95DzqTO+fYacSNoRAu9pAJ9uqSZ0G9PdiaD9hhFfKnH/wevbSwCggJnQ
6L4/J5+euCvv8QmqEu6Sqkc=
=SoCa
-----END PGP SIGNATURE-----
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]