Skip to content

reject DTD and entity references in DocLang validation - #170

Merged
vagenas merged 1 commit into
mainfrom
reject-dtd-and-entity-references
Jul 13, 2026
Merged

reject DTD and entity references in DocLang validation#170
vagenas merged 1 commit into
mainfrom
reject-dtd-and-entity-references

Conversation

@vagenas

@vagenas vagenas commented Jul 13, 2026

Copy link
Copy Markdown
Member
  • Parse user documents with entities disabled and reject DTD declarations or entity nodes; use the same path for XSD and Schematron input
  • Omit DOCTYPE when serializing temp XML for Saxon, and cover this with validation tests

- Parse user documents with entities disabled and reject DTD declarations or entity nodes; use the same path for XSD and Schematron input
- Omit DOCTYPE when serializing temp XML for Saxon, and cover this with validation tests

Signed-off-by: Panos Vagenas <pva@zurich.ibm.com>
@vagenas
vagenas requested a review from dolfim-ibm July 13, 2026 11:13

@dolfim-ibm dolfim-ibm left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@vagenas
vagenas merged commit baec174 into main Jul 13, 2026
10 checks passed
@vagenas
vagenas deleted the reject-dtd-and-entity-references branch July 13, 2026 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants