Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix to not allow parameter entity references at internal subsets #191

Commits on Aug 17, 2024

  1. add Entity test

    naitoh committed Aug 17, 2024
    Configuration menu
    Copy the full SHA
    b38e399 View commit details
    Browse the repository at this point in the history
  2. Fix to not allow Parameter Entity References at internal subsets.

    ## Why?
    In the internal subset of DTD, references to parameter entities are not allowed within markup declarations.
    
    See: https://www.w3.org/TR/xml/#wfc-PEinInternalSubset
    
    > Well-formedness constraint: PEs in Internal Subset
    
    > In the internal DTD subset, parameter-entity references MUST NOT occur within markup declarations; they may occur where markup declarations can occur. (This does not apply to references that occur in external parameter entities or to the external subset.)
    naitoh committed Aug 17, 2024
    Configuration menu
    Copy the full SHA
    eb73ef5 View commit details
    Browse the repository at this point in the history