#34 Parameter Entities in Internal Subset

v6.4.4
closed
Michael Kay
5
2012-10-08
2001-10-19
Michael Kay
No

The XML specification disallows parameter entity
references within a declaration in the internal DTD
subset, but allows them within external parameter
entities pulled into the internal DTD subset by means
of a parameter entity reference.

AElfred doesn't allow parameter entity references
within a declaration in the internal DTD subset,
whether they appear directly or whether they are
within external parameter entities pulled into the
internal DTD subset by means of a parameter entity
reference.

Present in 6.4.4 and all previous releases. (This bug
has been known about for some time and is not at all
easy to fix).

Discussion

  • Michael Kay
    Michael Kay
    2001-11-13

    Logged In: YES
    user_id=251681

    I believe I have now fixed this in the source code.
    Added test:
    if (peIsError && entityStack.size()==1)
    at line 3419 to ensure the failure is only reported if it
    occurs in the main document entity, not in an external PE
    loaded from the main document entity.

     
  • Michael Kay
    Michael Kay
    2001-11-15

    Logged In: YES
    user_id=251681

    Fixed in 6.5