Closed neheb closed 4 years ago
Yes, that's what Apple officially uses, see https://opensource.apple.com/source/CF/CF-1153.18/CFPropertyList.c.auto.html:
static void _CFGenerateXMLPropertyListToData(CFMutableDataRef xml, CFTypeRef propertyList) {
_plistAppendUTF8CString(xml, "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE ");
_plistAppendCharacters(xml, CFXMLPlistTagsUnicode[PLIST_IX], PLIST_TAG_LENGTH);
_plistAppendUTF8CString(xml, " PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<");
_plistAppendCharacters(xml, CFXMLPlistTagsUnicode[PLIST_IX], PLIST_TAG_LENGTH);
_plistAppendUTF8CString(xml, " version=\"1.0\">\n");
...
Is referencing http://www.apple.com/DTDs/PropertyList-1.0.dtd correct? It should be https://www.apple.com/DTDs/PropertyList-1.0.dtd AFAIK.