[RX-14594] web.xml validation problems

Created: Tue, 23 Dec 2008 11:00:59 -0500 (EST)
Affected Version(s): 6.5.2
Description: Some parts of the browser interface fail after adding new servlets to Rhythmyx.

This occurs because the file /AppServer/server/rx/deploy/rxapp.ear/rxapp.war/WEB-INF/web.xml has an incorrect namespace header:

<?xml version=“1.0” encoding=“utf-8”?>
<web-app xmlns:j2ee=“http://java.sun.com/xml/ns/j2ee” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” xsi:schemaLocation=“http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd” version=“2.4”>

The initial namespace declaration defines the default namespace, and should not include any suffix. To correct the problem, remove the “:j2ee” from the default namespace declaration:

<?xml version=“1.0”?>
<web-app xmlns=“http://java.sun.com/xml/ns/j2ee” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” xsi:schemaLocation=“http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd” version=“2.4”>
Status: Unresolved - Open