Edit

kc3-lang/libxml2/test/undeclared-entity.xml

Branch :

  • Show log

    Commit

  • Author : Nick Wellnhofer
    Date : 2024-04-22 17:12:54
    Hash : 45fe9924
    Message : parser: Don't create reference in xmlLookupGeneralEntity This should only be done in xmlParseReference. The handling of undeclared entities is still somewhat inconsistent. In element content we create references even if entity substitution is enabled. In attribute values undeclared entities are always ignored.

  • test/undeclared-entity.xml
  • <!-- Having an external DTD makes undeclared entities a warning. -->
    <!DOCTYPE doc SYSTEM "foo">
    <doc>
        <elem attr="&undeclared;"/>
        <elem>&undeclared;</elem>
    </doc>