Everytime I call the method on
XmlDocument.Save(fooFilepath);
it inserts two square brackets at the end of the DOCTYPE tag e.g.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ARCXML SYSTEM "G:\ArcIMS\DTD\arcxml.dtd"[]>
Does anyone know why this might happen? I obviously don’t want this to happen.
That is a normal (and optional) part of a DOCTYPE declaration.
Where DTD contains any internal subset declarations to your document.