[
https://issues.apache.org/jira/browse/TILES-581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14215457#comment-14215457
]
Nicolas Le Bas commented on TILES-581:
--------------------------------------
These are good questions.
I kind of agree on item 1., I think providing the appropriate mime-type cannot
hurt.
I'm not so sure on Item 2. The <?xml?> prolog is only mandatory for XML 1.1
(see http://www.w3.org/TR/xml11/#sec-prolog-dtd and
http://www.w3.org/TR/REC-xml/#sec-prolog-dtd), so adding version="1.0" defeats
the argument. More to the point, what is the risk that some legacy systems do
not support it?
> DTD setup
> ---------
>
> Key: TILES-581
> URL: https://issues.apache.org/jira/browse/TILES-581
> Project: Tiles
> Issue Type: Bug
> Components: site
> Reporter: Jeff Conrad
> Labels: dtd, mime-type, site
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> 1. Should the mime-type of the dtd documents retrieved from apache.org have=
> the type "application/xml-dtd" as per http://www.ietf.org/rfc/rfc3023.txt
> 2. Should the DTDs begin with xml tag like <?xml version="1.0"
> encoding="UTF-8" ?> like other dtds? Ex.
> http://ibatis.apache.org/dtd/sql-map-2.dtd
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)