When namespace processing is turned on then
unbound prefixes are illegal according to
the Namespaces for XML 1.0 specification, section 4,
paragraph "Namespace Constraint: Prefix Declared".
However, Expat does not reject the following two
documents:
<?xml version="1.0"?>
<!-- Unbound element prefix -->
<a:foo/>
<?xml version="1.0"?>
<!-- Unbound attribute prefix -->
<foo a:attr="1"/>
Logged In: YES
user_id=290026
There is a fix for bug #692964 - attachment
NSAttFix3.diff - that also includes a fix
for this bug.
Assigned to Fred for regression tests.
Logged In: YES
user_id=290026
NSAttFix3.diff applied (minor modification).
New revisions: expat.h 1.52, xmlparse.c 1.109.
Logged In: YES
user_id=3066
Added regression test in tests/runtests.c 1.49.
Closing this report.