[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-3388) Pages.xml file should be validated against its schema at runtime

Arron Ferguson (JIRA) jira-events at lists.jboss.org
Fri Sep 5 12:16:38 EDT 2008


Pages.xml file should be validated against its schema at runtime
----------------------------------------------------------------

                 Key: JBSEAM-3388
                 URL: https://jira.jboss.org/jira/browse/JBSEAM-3388
             Project: Seam
          Issue Type: Feature Request
          Components: Core
    Affects Versions: 2.1.0.BETA1
         Environment: N/A
            Reporter: Arron Ferguson
            Priority: Minor


The pages.xml file that is used in Seam apps should really be validated when the WAR/package is deployed on the server. This would help alleviate a lot of the false positives (i.e., bug reports that are not due to bugs but are in fact users adding mistakes to the pages.xml file). Additionally Seam team developers would form a tighter contractual binding of what the specs state should happen, with what the API implementation is actually doing. This would most likely result in a reduction in bug reports due to false positives as well as actual bugs.

To complement this, a blurb in the Seam manual on how to create an Ant task with validation could be added as well as a small sample application for validating pages.xml files with the pages.xsd schema. If I have time later today I'll post to this report a snippet of code for each.

- Arron

-- 
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 seam-issues mailing list