[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-4177) Seam Booking project example errors.

Victor Rubezhny (JIRA) jira-events at lists.jboss.org
Thu Apr 16 12:36:22 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBIDE-4177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12462716#action_12462716 ] 

Victor Rubezhny commented on JBIDE-4177:
----------------------------------------

The files placed in the folder <booking project>\WebContent\exp are incorrect, because:

- All of them have wrong extension "html" while the DOCTYPE says that these files are XHTMLs
- Because of XHTML DOCTYPE all tese files must have a valid XML structure (for instance, all the tags must be closed either by "/>" or according closing tag)

So, the XHTML Validator is correct when it shows you these error markers. The <INPUT> tags are to be closed like all the XML tags.

The example files are to be corrected due to fix these error messages:

- All the <INPUT> tags are to be closed (or the </INPUT> closing tag is to be used)
- IMHO. It's not obligatory to change the extension from "html" to "xhtml" for these files, so these files may not be renamed to "*.xhtml" due to save all the links operational.


> Seam Booking project example errors.
> ------------------------------------
>
>                 Key: JBIDE-4177
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-4177
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: project-examples
>    Affects Versions: 3.1.0.M1
>         Environment: WindowsXP SP2
> JBoss Tools
> Version: 3.1.0
> Build id: JBossTools-ALL-win32-3.1.0.Alpha1-N200904090001-H90
> JRE 1.5_08
>            Reporter: Aliaksey Nis
>            Assignee: Victor Rubezhny
>            Priority: Minor
>             Fix For: 3.1.0.M1
>
>
> EXECUTE: Import Seam Booking example project.
> EXECUTE: Open Problems view.
> FAILURE: 3 errors shown here.
> 1. 
> The element type "INPUT" must be terminated by the matching end-tag "</INPUT>".
> File: introExp.html
> Folder: booking/WebContent/exp
> Line: line 22
> 2.
> The element type "INPUT" must be terminated by the matching end-tag "</INPUT>".
> File: workspaceExp.html
> Folder: booking/WebContent/exp
> Line: line 22
> 3. 
> The entity name must immediately follow the '&' in the entity reference.
> File: mainExp.html
> Folder: booking/WebContent/exp
> Line: line 94
> Example project must be correctly imported.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list