[PATCH] xmllite: Parse URLs in `DOCTYPE PUBLIC` DTDs.

Grant Paul grant at grantpaul.com
Mon Nov 14 09:18:55 CST 2016


Before, a common DOCTYPE header like this one would fail to parse:

    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">

This is because the URL field was only handled for `DOCTYPE SYSTEM`,
and not `DOCTYPE PUBLIC`, which can have both an identifier and a URL.

Tested on macOS.

Signed-off-by: Grant Paul <git at grantpaul.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-xmllite-Parse-URLs-in-DOCTYPE-PUBLIC-DTDs.patch
Type: application/octet-stream
Size: 8297 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20161114/18d01874/attachment-0001.obj>


More information about the wine-patches mailing list