2 Replies Latest reply on Mar 5, 2010 5:22 AM by maxandersen

    ParseException in facelet

    asookazian

      ParseException: Error validating the model: Server returned HTTP response code: 503 for URL: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd

       

      <!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      <ui:composition
          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:j4j="http://javascript4jsf.dev.java.net/"
          xmlns:s="http://jboss.com/products/seam/taglib"
          xmlns:rich="http://richfaces.org/rich"
          xmlns:echo="http://www.echo-inc.com/common/web/facelets/taglib"
          template="/WEB-INF/templates/page.xhtml">

       

      ......

       

      </ui:composition>

       

      Any idea why I'm getting this error?  I'm using JBT 3.1.0.M4.  thx.

        • 1. Re: ParseException in facelet
          dgolovin

          It looks like this file file cannot be accessed by HTTP from your workstation. Could you download it directly by browser or using wget command line utility?

          • 2. Re: ParseException in facelet
            maxandersen

            You are getting that error because W3C disables access to a host once it has done too many requests to read dtd's/schema's.

             

            That was caused by a bug in JBoss Tools where we did not always use the cache to get these schemas - those bugs were supposedly fixed in the M3 release (https://jira.jboss.org/jira/browse/JBIDE-4686)

             

            Are they still there if you do a Project > Clean and build again ?

             

            In any case please update to the latest to be sure you got the latest fixes for this problem and if it happens again report it directly in Jira - thank you!