title: XML Parser Error in .xhtml file
body: <p>After deploying our EAR file to Glassfish 3.1.2 Build 23, I receive this error in my Firefox browser:</p>
  
  <p>XML Parsing Error: no element found Location: <a href="https://localhost:8181/TranscriptTool/welcome/index.xhtml" rel="nofollow">https://localhost:8181/TranscriptTool/welcome/index.xhtml</a> Line Number 1, Column 1:</p>
  
  <p>The EAR file deployed without any errors and works fine on another server, but this server generates the above error.</p>
  
  <p>I've not been successful in finding the reason for this.</p>
  
  <p>This is the index.xhtml file:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8" ?&gt;
  &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
  &lt;ui:composition template="/template/no_menu_layout.xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core" 
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui"
      xmlns:tt="http://jsf/transcripttool"&gt;
      &lt;ui:define name="title"&gt;
          Login
      &lt;/ui:define&gt;
      &lt;ui:define name="content"&gt;
      &lt;h:form prependId="false"&gt;
          &lt;br/&gt;
          &lt;p:panelGrid  style="margin: 0 auto;"&gt;
              &lt;p:row&gt;  
                  &lt;p:column&gt;&lt;h:outputLabel for="username" value="Username:" /&gt;&lt;/p:column&gt;
                  &lt;p:column&gt;&lt;p:inputText value="#{userLoginSession.username}"   
                      id="username" required="true" label="username" /&gt;&lt;/p:column&gt;        
              &lt;/p:row&gt;
              &lt;p:row&gt;  
                  &lt;p:column&gt;&lt;h:outputLabel for="password" value="Password:" /&gt;&lt;/p:column&gt;
                  &lt;p:column&gt;&lt;p:password value="#{userLoginSession.password}"   
                              id="password" label="password" /&gt;&lt;/p:column&gt;        
              &lt;/p:row&gt;
              &lt;p:row&gt;
                  &lt;p:column colspan="2" style="text-align: center;"&gt;&lt;p:commandButton id="loginButton" value="Login"    
                       action="#{userLoginSession.login}" ajax="false"/&gt;&lt;/p:column&gt;
              &lt;/p:row&gt;
          &lt;/p:panelGrid&gt;
          &lt;div class="ui-widget" style="text-align: center;"&gt;
              &lt;h:link outcome="passwordReset" value="Reset Password"/&gt;
          &lt;/div&gt;          
      &lt;/h:form&gt;
      &lt;div style="position: absolute;width: 100%;bottom: 70px;"&gt;
      &lt;/div&gt;
      &lt;tt:errPopup id="userError" isModal="true"
              errorHandle="#{userLoginSession.errorMessages}" /&gt;
      &lt;/ui:define&gt;
  &lt;/ui:composition&gt;
  </code></pre>
  
  <p>Thanks   Avis</p>