diff options
author | Ali Mohammad Pur <ali.mpfard@gmail.com> | 2022-03-26 21:32:57 +0430 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-03-28 23:11:48 +0200 |
commit | 67357fe984c19b724c7171959c4b1a6101f9047a (patch) | |
tree | f8285be3fdbe2ff7f84bdc3e52c015d0bf81c17b /AK | |
parent | 06cedf5baee5d77b11f2d472a4ba934e4a6cb6c1 (diff) | |
download | serenity-67357fe984c19b724c7171959c4b1a6101f9047a.zip |
LibXML: Add a fairly basic XML parser
Currently this can parse XML and resolve external resources/references,
and read a DTD (but not apply or verify its rules).
That's good enough for _most_ XHTML documents as the HTML 5 spec
enforces its own rules about document well-formedness, and does not make
use of XML DTDs (aside from a list of predefined entities).
An accompanying `xml` utility is provided that can read and dump XML
documents, and can also run the XML conformance test suite.
Diffstat (limited to 'AK')
-rw-r--r-- | AK/Debug.h.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/AK/Debug.h.in b/AK/Debug.h.in index 9bceac045a..a4693ffa6c 100644 --- a/AK/Debug.h.in +++ b/AK/Debug.h.in @@ -493,3 +493,7 @@ #ifndef WSSCREEN_DEBUG #cmakedefine01 WSSCREEN_DEBUG #endif + +#ifndef XML_PARSER_DEBUG +#cmakedefine01 XML_PARSER_DEBUG +#endif |