[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-3381) Incorrect pages.xml for newly created Seam 2 FP project

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Thu Dec 11 12:27:46 EST 2008


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

Alexey Kazakov commented on JBIDE-3381:
---------------------------------------

pagesOriginal.xml is a template pagas.xml from <seam-2.0.2-FP_runtime_home>/seam-gen/resources/WEB-INF\pages.xml
And it is incorrect:
Line 54:     <exception class="org.jboss.seam.ConcurrentRequestTimeoutException" logLevel="trace">

"logLevel" attribute doesn't exist in pages-2.0.xsd for <exception>. There is this attribute in xsd since pages-2.1.xsd only.

So it seems we have to include a patched seam for JBDS 2.0.0.

> Incorrect pages.xml for newly created Seam 2 FP project
> -------------------------------------------------------
>
>                 Key: JBIDE-3381
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-3381
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Seam
>    Affects Versions: 3.0.0.cr1
>         Environment: WindowsXP SP2
> JBoss Developer Studio
> Version: 2.0.0.CR1
> Build id: jbdevstudio-eap-win32-2.0.0.CR1-N200812091344.jar
> JDK 1.5_08
>            Reporter: Aliaksey Nis
>            Assignee: Daniel Azarov
>             Fix For: 3.0.0.cr1
>
>         Attachments: pages-2.0.xsd, pages.xml, pagesOriginal.xml
>
>
> EXECUTE: Create Seam 2 FP war or ear project.
> EXECUTE: Open "Problems" view.
> FAILURE: In Package Explorer project marked as incorrect(red icon with cross). In problems view error shown:
> "cvc-complex-type.3.2.2: Attribute 'logLevel' is not allowed to appear in element 'exception'."
> pages.xml Line - 54
> Default Seam project must be created w/o errors...

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