mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-01-04 05:17:37 +03:00
48da910097
* 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
7 lines
112 B
XML
7 lines
112 B
XML
<!DOCTYPE doc [
|
|
<!ELEMENT doc EMPTY>
|
|
<!ATTLIST doc
|
|
xmlns CDATA #FIXED "http://www.example.com/">
|
|
]>
|
|
<doc/>
|