mirror of
https://github.com/GNOME/libxml2.git
synced 2025-02-23 18:29:14 +08:00
- SAX.c tree.c debugXML.c: fixed bogus behaviour when an undeclared namespace prefix was used, added a warning. Cleaned up support w.r.t. entities, spilling out a warning and being pedantic on lookups. - test/warning/ent9 : added testcase for previous example. - TODO: updated - parserInternals.h parser.c: changed the way names are parsed now allow infinite size and decrease penalty for normal use - parser.c: Started a big cleanup/check of the parser code, fixed some of the most tortuous entity code, spotted code unused anymore - test/*: added tests for very long names and related nasty things. Daniel
7 lines
133 B
XML
7 lines
133 B
XML
<?xml version="1.0"?>
|
|
<!DOCTYPE doc [
|
|
<!ENTITY YN '"Yes"'>
|
|
<!ENTITY WhatHeSaid "He said &YN;">
|
|
]>
|
|
<doc>He said "Yes"</doc>
|