- From: Hin-Tak Leung <htl10@users.sourceforge.net>
- Date: Wed, 27 Jan 2016 18:48:13 +0000 (UTC)
- To: "public-svgopentype@w3.org" <public-svgopentype@w3.org>, Chris Lilley <chris@w3.org>
On Wed, 27/1/16, Chris Lilley <chris@w3.org> wrote: > No, validating parsers are required to *always* fetch and apply external DTD subsets. Non-validating XML parsers are not required to fetch it (and there is almost no point in doing so). These days, it is also common to use a better validation technology than DTDs (like RelaxNG, Schematron, XML Schema) and the parsers used there do not fetch external DTD subsets. > Parsers which repeatedly fetch the same DTD over and over are considered abusive (and, if severe, W3C actually blocks them). > Switching off DTD validation is the correct way forward here. > Fixing mono's XML parser so that it supports XML Catalog and thus works correctly in validating mode would also be good :) Hiya, I did a bit of googling, apparently mono's XML parser's behavior towards named DTD in the DOCTYPE header mimic Microsoft .Net's . MSDN documentation on dotnet's XML parser does tell you how to switch it off, but network resolution is on by default :-(. So this might be worth mentioning in some "MS .net/mono C# implementer' guide" on w3c - I am a bit horrified by this also. There are some catalog caching and resolution-redirection API's, which I'll look into at some point. Also - apparently there is no official XML schema for SVG - is that correct? Hin-Tak
Received on Wednesday, 27 January 2016 18:51:42 UTC