- May 13, 2024
-
-
Nick Wellnhofer authored
-
Nick Wellnhofer authored
-
Nick Wellnhofer authored
This macro is obsolete, see `man feature_test_macros`.
-
Nick Wellnhofer authored
-
Nick Wellnhofer authored
Abort earlier in xmlTextReaderRead if an error was raised.
-
Nick Wellnhofer authored
-
Nick Wellnhofer authored
-
Nick Wellnhofer authored
Only fragment identifiers are an error. This removes the last user of xmlErrMsg*. Now every error reported by the parser should result in one of ctxt->wellFormed, ctxt->nsWellFormed or ctxt->valid being set to zero.
-
Nick Wellnhofer authored
Entity references point to entities in the DTD, so only unlink the DTD and don't destroy it.
-
Nick Wellnhofer authored
Add a missing bounds check. Fixes #720.
-
Nick Wellnhofer authored
Regressed in 74c84a8c.
-
Nick Wellnhofer authored
Remove unnecessary globals and make some local. Remove unnecessary calls to xmlTextReaderSetParserProp. Remove unused "oldout" code. Fix skipArgs.
-
- May 07, 2024
-
-
Nick Wellnhofer authored
Merge a few code paths, making options like --valid or --htmlout work with some other options. Improve error handling.
-
Nick Wellnhofer authored
-
Nick Wellnhofer authored
-
- May 06, 2024
-
-
Nick Wellnhofer authored
-
Nick Wellnhofer authored
`ctxt->input` can be NULL after commit 61b4c42f.
-
Nick Wellnhofer authored
Fix corner cases like 'xmllint --encode --maxmem 123'. Also fixes --path without LIBXML_VALID_ENABLED.
-
Nick Wellnhofer authored
-
Nick Wellnhofer authored
-
- May 05, 2024
-
-
Nick Wellnhofer authored
Prepare for fuzzing.
-
Nick Wellnhofer authored
- Add standalone declaration - Add doctype declaration - Expand ATTLIST matrix in xml.dict
-
Nick Wellnhofer authored
Make sure that parent is an element when calling xmlValidGetValidElements.
-
Nick Wellnhofer authored
This is only a debugging aid but also useful when fuzzing.
-
Nick Wellnhofer authored
This can happen in "walker" mode.
-
Nick Wellnhofer authored
-
Nick Wellnhofer authored
-
Nick Wellnhofer authored
-
- May 03, 2024
-
-
Nick Wellnhofer authored
Search parent inputs of internal parameter entities for base URI. Fixes a long-standing bug, which manifested in a different way after commit 955c177f. Reproduce with xmllint --noent xmlconf/eduni/errata-2e/E18.xml
-
Nick Wellnhofer authored
When parsing with XML_PARSE_DTDLOAD, missing entities are always an error. Also consolidate behavior when validating. See b717abdd.
-
Nick Wellnhofer authored
We never want to create entity reference nodes if entity substitution is enabled. This also applies to undeclared entities.
-
- Apr 30, 2024
-
-
Nick Wellnhofer authored
These don't seem to be used by downstream code.
-
Nick Wellnhofer authored
-
Nick Wellnhofer authored
-
Nick Wellnhofer authored
It's possible to create references to predefined entities using the tree API. This edge case was exposed by making predefined entities const in commit 63ce5f9a.
-
Nick Wellnhofer authored
xmlNewCharRef also tries to handle strings like '&name;' but in xmlNodeParseContentInternal, we really want to use the possibly invalid name without modification. Otherwise, content like '&"' could create a reference to a predefined entity.
-
Tomáš Ženčák authored
-
- Apr 28, 2024
-
-
Nick Wellnhofer authored
-
Nick Wellnhofer authored
The tutorial was moved to the Wiki: https://gitlab.gnome.org/GNOME/libxml2/-/wikis/Tutorial
-
Nick Wellnhofer authored
-