From jira-events at lists.jboss.org Fri Jul 8 18:20:24 2011 Content-Type: multipart/mixed; boundary="===============9029902927281658690==" MIME-Version: 1.0 From: Alexey Kazakov (JIRA) To: jbosstools-issues at lists.jboss.org Subject: [jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-8481) HTML 5 support in the source editor and validators Date: Fri, 08 Jul 2011 18:20:24 -0400 Message-ID: <891027478.43121.1310163624175.JavaMail.tomcat@jira02.app.mwc.hst.phx2.redhat.com> In-Reply-To: 921592095.1568.1298567885812.JavaMail.tomcat@jira02.app.mwc.hst.phx2.redhat.com --===============9029902927281658690== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ https://issues.jboss.org/browse/JBIDE-8481?page=3Dcom.atlassian.jira.= plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D12613240#c= omment-12613240 ] = Alexey Kazakov commented on JBIDE-8481: --------------------------------------- HTML5 is supported by WTP. WTP content assistant shows HTML5 tags together with HTML4 (HTML4 are showe= d in capital letters) if the page doesn't declare HTML4 doc type. But HTML support in WTP in general has some restrictions for Facelets/JSF2 = pages. For example HTML code completion doesn't work inside not-HTML tags: {code:html}
{code} In JBT, we provide our own HTML code completion without such limitations (b= oth ours and WTP's code completions works in our editors) but our code comp= letion doesn't support HTML5. So, what we have right now for XHTML pages which doesn't have HTML4 doc typ= e (so they may use HTML5): {code:html}
{code} What options do we have: 1. Leave it as it is :) and wait until WTP fix that issue with HTML tags in= not-HTML tags (probably we should create an issue for WTP). 2. Create a new HTML5 schema for our KB instead of old HTML4. HTML5 doesn't= have any DTD or XSD so we have to create our own one. Also we have to dist= inguish HTML4 doc type not to show HTML5 tags in such pages. So far our KB = doesn't do it. But WTP does. 3. Anything else? = > HTML 5 support in the source editor and validators > -------------------------------------------------- > > Key: JBIDE-8481 > URL: https://issues.jboss.org/browse/JBIDE-8481 > Project: Tools (JBoss Tools) > Issue Type: Sub-task > Components: jsp/jsf/xml source editing > Reporter: Yahor Radtsevich > Assignee: Alexey Kazakov > Fix For: 3.3.0.M3 > > > Add HTML 5 support to the source editor and validators. See JBIDE-8479 fo= r details. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira =20 --===============9029902927281658690==--