Menu

#242 Unbound prefixes not rejected

Test Required
closed-fixed
None
5
2003-03-12
2003-03-01
No

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"/>

Discussion

  • Karl Waclawek

    Karl Waclawek - 2003-03-03
    • assigned_to: kwaclaw --> fdrake
     
  • Karl Waclawek

    Karl Waclawek - 2003-03-03

    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.

     
  • Karl Waclawek

    Karl Waclawek - 2003-03-07

    Logged In: YES
    user_id=290026

    NSAttFix3.diff applied (minor modification).
    New revisions: expat.h 1.52, xmlparse.c 1.109.

     
  • Karl Waclawek

    Karl Waclawek - 2003-03-07
    • milestone: --> Test Required
    • status: open --> open-fixed
     
  • Fred L. Drake, Jr.

    • status: open-fixed --> closed-fixed
     
  • Fred L. Drake, Jr.

    Logged In: YES
    user_id=3066

    Added regression test in tests/runtests.c 1.49.
    Closing this report.

     

Log in to post a comment.

MongoDB Logo MongoDB