1 2 Previous Next 18 Replies Latest reply on Jul 13, 2009 8:39 AM by Nico de Wet

    XML Parsing Error

    nathan dennis Expert

      working with seam 2.0.2.sp1 and jboss 4.2.2.ga.


      i am getting a sporadic xml parsing error. i can see no way to predict when or where this will happened. it has happened at least once on almost all my pages.


      XML Parsing Error: mismatched tag. Expected: </head>.
      Location: http://192.168.100.47:8080/foo/foo/profilelist.dcg?mid=90&from=memorial+list+workspace&fromURL=%2Fepigraph%2Fepilist.xhtml&conversationPropagation=end&cid=137
      Line Number 16, Column 3:</head>
      --^
      



      seems like it would be real simple to fix but.. here is the header.


      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
                            "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.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:s="http://jboss.com/products/seam/taglib">
      <head>    
          <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
         <title>Project</title>
      <script language="JavaScript1.2" type="text/javascript" src="#{facesContext.externalContext.requestContextPath}/js/mm_css_menu.js"></script>
      <script language="JavaScript1.2" type="text/javascript" src="#{facesContext.externalContext.requestContextPath}/js/mm_navbar_cache.js"></script>
      <link href="#{facesContext.externalContext.requestContextPath}/stylesheet/merge.css" rel="stylesheet" type="text/css" />
      <s:remote include="httpSessionChecker"/>
      <script language="JavaScript1.2" type="text/javascript" src="#{facesContext.externalContext.requestContextPath}/js/timeout.js"></script>
      </head>
      <body onload="MM_preloadImages('#{facesContext.externalContext.requestContextPath}/img/mainImages/homeBtn_f2.jpg','#{facesContext.externalContext.requestContextPath}/img/mainImages/homeBtn_f3.jpg','#{facesContext.externalContext.requestContextPath}/img/mainImages/prodBtn_f2.jpg','#{facesContext.externalContext.requestContextPath}/img/mainImages/prodBtn_f3.jpg','#{facesContext.externalContext.requestContextPath}/img/mainImages/howBtn_f2.jpg','#{facesContext.externalContext.requestContextPath}/img/mainImages/howBtn_f3.jpg','#{facesContext.externalContext.requestContextPath}/img/mainImages/memberBtn_f2.jpg','mainImages/memberBtn_f3.jpg','#{facesContext.externalContext.requestContextPath}/img/mainImages/faq.php_f2.jpg','#{facesContext.externalContext.requestContextPath}/img/mainImages/faq.php_f3.jpg','#{facesContext.externalContext.requestContextPath}/img/mainImages/newsBtn_f2.jpg','#{facesContext.externalContext.requestContextPath}/img/mainImages/newsBtn_f3.jpg','#{facesContext.externalContext.requestContextPath}/img/mainImages/contactBtn_f2.jpg');">
      
      <div id="secondaryNavWrapper">
           <div id="topSpacer"></div>
                      <div id="mainWrapper">
      
                      <ui:insert name="body"/>
              
              </div>
              
              <ui:include src="footer.xhtml"></ui:include>
              
      </div>
      <script type="text/javascript">startSessionTimeoutCheck();</script>
      </body>
      </html>
      



      any ideas???

        1 2 Previous Next