[richfaces-issues] [JBoss JIRA] Created: (RF-3619) org.ajax4jsf.webapp.WebXml doesn't respect namespaces within the web.xml

Gena Batalski (JIRA) jira-events at lists.jboss.org
Tue Jun 3 05:54:20 EDT 2008


org.ajax4jsf.webapp.WebXml doesn't respect namespaces within the web.xml
------------------------------------------------------------------------

                 Key: RF-3619
                 URL: http://jira.jboss.com/jira/browse/RF-3619
             Project: RichFaces
          Issue Type: Bug
    Affects Versions: 3.2.0, 3.2.0.SR1, 3.2.1, 3.2.2
         Environment: richfaces from SVN, SAP Netweaver CE 7.1 JEE
            Reporter: Gena Batalski


Hello,

the SAP deployer checks the web.xml for errors and enriches the file with xml namespaces. The deployed file is also correct, but it can not  be correctly recognised by org.ajax4jsf.webapp.WebXml. The line

dig.setNamespaceAware(false)

 in init(..) method of WebXml prevents richfaces from correct parsing of web.xml in this case. I think, it could be possible to parse both flavour of web.xml, with and without namespaces, also if the usage of namespaced version is unusual.  

Setting dig.setNamespaceAware(true) resolved the problem but i didn't test it on a web.xml without namespaces.

Gena

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

        



More information about the richfaces-issues mailing list