mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-29 11:41:22 +03:00
allow to inherit attributes from the DTD directly in the tree, this is
* SAX.c testXPath.c valid.c xmllint.c include/libxml/valid.h: allow to inherit attributes from the DTD directly in the tree, this is needed for XPath and can be a useful feature. Inherited namespaces are always provided at the tree level now * test/defattr* result/defattr* result/noent/defattr*: added a couple of tests for this feature (XSLT being the prime user). Daniel
This commit is contained in:
@ -175,6 +175,8 @@ int main(int argc, char **argv) {
|
||||
usefile++;
|
||||
}
|
||||
if (valid != 0) xmlDoValidityCheckingDefaultValue = 1;
|
||||
xmlLoadExtDtdDefaultValue |= XML_DETECT_IDS;
|
||||
xmlLoadExtDtdDefaultValue |= XML_COMPLETE_ATTRS;
|
||||
if (nocdata != 0) {
|
||||
xmlDefaultSAXHandlerInit();
|
||||
xmlDefaultSAXHandler.cdataBlock = NULL;
|
||||
|
Reference in New Issue
Block a user