[ 
https://issues.apache.org/jira/browse/TILES-581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14217899#comment-14217899
 ] 

Nicolas Le Bas commented on TILES-581:
--------------------------------------

I looked up other DTDs on the net as a reference. For instance:
- W3C (http://www.w3.org/QA/2002/04/valid-dtd-list.html) uses MIME type 
text/plain and no <?xml?> prolog.
- Hibernate.org (http://www.w3.org/QA/2002/04/valid-dtd-list.html) uses MIME 
type application/xml-dtd and no <?xml?> prolog.
- Struts (http://struts.apache.org/dtds/) uses MIME type application/xml-dtd 
and no <?xml?> prolog before 2.0, uses the <?xml?> prolog since 2.0
- Oracle/Sun (http://java.sun.com/dtd/web-app_2_3.dtd) seems to use MIME type 
application/xml-dtd and no <?xml?> prolog.


> 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)

Reply via email to