This content has been marked as final.
Show 1 reply
-
1. Re: XML error for IE 6.x
nbelaevski Apr 24, 2008 8:07 PM (in response to schradermj11)Hello,
The script you've mentioned is a standard JSF command link component script. I've visited your site and then reproduced the problem locally. Please compare:<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" > <!-- Document : main_layout Created on : Apr 11, 2008, 8:08:08 PM Author : SchraderMJ11 --> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:rich="http://richfaces.org/rich">
fails<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" > <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:rich="http://richfaces.org/rich"> <!-- Document : main_layout Created on : Apr 11, 2008, 8:08:08 PM Author : SchraderMJ11 -->
works ok
You should use the second variant (i.e. comment nodes should go after the first element, but not before it)