mirror of
https://github.com/claunia/plist-cil.git
synced 2026-02-04 05:34:41 +00:00
[PR #12] [MERGED] Ignore DTD when reading XML PList documents #47
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/claunia/plist-cil/pull/12
Author: @qmfrederik
Created: 6/28/2016
Status: ✅ Merged
Merged: 7/9/2016
Merged by: @claunia
Base:
master← Head:fixes/dtd-processing📝 Commits (1)
fb7e431Ignore DTD when reading XML PList documents📊 Changes
1 file changed (+8 additions, -1 deletions)
View changed files
📝
plist-cil/XmlPropertyListParser.cs(+8 -1)📄 Description
I'm slightly surprised this wasn't an issue on .NET 4.6, but when trying to read a XmlDocument which contains a DTD definition (like the XML property lists), .NET Core will throw an exception unless you've instructed it to either ignore or validate DTD's.
This PR causes .NET to ignore them (they are not used anyway).
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.