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

Allow injection of DTD set into documents #90

Open
bodewig opened this issue Dec 6, 2016 · 0 comments
Open

Allow injection of DTD set into documents #90

bodewig opened this issue Dec 6, 2016 · 0 comments

Comments

@bodewig
Copy link
Member

bodewig commented Dec 6, 2016

This is a follow up ticket for the discussion started in xmlunit/user-guide#9

It would be nice to have an API that allowed the DTD of a document to get manipulated or to inject an internal DTD. The legacy module contains an support for replacing a DTD in https://github.com/xmlunit/xmlunit/blob/master/xmlunit-legacy/src/main/java/org/custommonkey/xmlunit/DoctypeInputStream.java

One approach could be a custom Source implementation inside the input package. I'm not convinced we'd need support inside the Input builder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant