Issue Details (XML | Word | Printable)

Key: MPXDOC-192
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Lukas Theussl
Reporter: Henning Schmiedehausen
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Maven 1.x XDoc Plugin

Add a public DTD identifier for XDOC

Created: 01/Apr/06 03:09 AM   Updated: 18/Jun/06 11:10 PM   Resolved: 12/Apr/06 07:07 PM
Return to search
Component/s: None
Affects Version/s: None
Fix Version/s: 1.10

Time Tracking:
Not Specified

File Attachments: 1. Text File xml-space.patch (0.4 kB)



 Description  « Hide

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.



Henning Schmiedehausen added a comment - 01/Apr/06 01:37 PM

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.


Henning Schmiedehausen added a comment - 01/Apr/06 01:38 PM

This is a patch which adds the xml:space attribute for source to the DTD. This is needed e.g. for XMLMind so source blocks don't get reformatted.


Henning Schmiedehausen made changes - 01/Apr/06 01:38 PM
Field Original Value New Value
Attachment xml-space.patch [ 19908 ]
Lukas Theussl added a comment - 05/Apr/06 03:49 PM

Patch applied in SVN.


Lukas Theussl added a comment - 12/Apr/06 07:07 PM

Docs have been added.
I'd prefer to keep the name within the xdoc plugin so we are flexible to update it in a future release (not likely, but who knows). We will add a note in the README that it's identical to the file on http://www.apache.org/dtds/xdoc_1_0.dtd. I'll try to get the file uploaded there during the voting period.


Lukas Theussl made changes - 12/Apr/06 07:07 PM
Assignee Lukas Theussl [ lukas ]
Resolution Fixed [ 1 ]
Status Open [ 1 ] Closed [ 6 ]
Lukas Theussl added a comment - 18/Jun/06 11:10 PM