To be able to automatically select the DTD for XDOC (which will be first released with the maven xdoc plugin), it would be good to define and add a public DTD identifier for the XDOC format. As discussed, I'd like to propose
<!DOCTYPE document PUBLIC "-//Apache Software Foundation//DTD XDOC 1.0//EN"
"http://www.apache.org/dtds/xdoc_1_0.dtd">
for the XDOC format. It would be great if you could also adopt this for the xdoc plugin (and change the name of the xdoc DTD file from the current 1.10 version to match the xdoc_1_0.dtd name.
Once the plugin is released, we can coordinate with the infra people to get the file in the referenced location.
To ensure that XML Editors like XMLMind are able to preserve the whitespace in the <source>..</source> blocks, please apply the attached patch to the DTD.