[
http://jira.jboss.com/jira/browse/JBSEAM-1533?page=comments#action_12366572 ]
Dan Allen commented on JBSEAM-1533:
-----------------------------------
Gavin, I may be able to provide some insight here. First of all, the web.xml file does
validate. The following command proves it.
xmllint --noout --schema
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd web.xml
web.xml validates
What I have seen though, is that Eclipse WTP (if the seam-gen project is setup that way by
a user) that NONE is not a valid role as a security constraint. This role is not needed
because the lack of a role indicates no permissions. So the following stanza would do
just fine.
<security-constraint>
<display-name>Restrict raw XHTML Documents</display-name>
<web-resource-collection>
<web-resource-name>XHTML</web-resource-name>
<url-pattern>*.xhtml</url-pattern>
</web-resource-collection>
</security-constraint>
The only other possibility is that the project name that Mikhail chose was not valid
within the context of an xml file. However, other patch of mine already suggests that we
do some filtering on the name of the project before using it everywhere. My vote is to
close this issue, unless you feel that taking out the role-name NONE.
web.xml is invalid per xsd (generated by seam-gen and in examples)
------------------------------------------------------------------
Key: JBSEAM-1533
URL:
http://jira.jboss.com/jira/browse/JBSEAM-1533
Project: JBoss Seam
Issue Type: Bug
Components: Tools
Affects Versions: 1.3.0.ALPHA, 1.3.0.BETA1, 1.3.0.BETA2, 1.3.0.GA, 1.3.1.GA
Reporter: Mikhail Grushinskiy
web.xml is invalid per xsd (generated by seam-gen and in examples)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira