2 Replies Latest reply on Jun 23, 2011 8:38 PM by jaredmorgs

    Problems with DTDs in (j)docbook builds

    pmuir

      Hi

       

      Over the last couple of days we've started to recieve errors like:

       

      INFO] ------------------------------------------------------------------------
      [ERROR] BUILD ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] XSLT problem

       

      Embedded error: error rendering [Failure reading file:/qa/services/hudson/hudson_workspace/workspace/Seam-3.x-faces-documentation/reference/docs/reference/src/main/docbook/en-US/master.xml] on master.xml
      Server returned HTTP response code: 403 for URL: http://www.oasis-open.org/docbook/xml/4.3/ent/iso-grk3.ent

       

      which I think is due to oasis-open.org implementing some sort of blocking on repeated requests for dtds (as the resolution of the file in a browser works fine, and it's a different file that causes the error each time).

       

      We do use the dtds in our XML  (e.g. http://anonsvn.jboss.org/repos/seam/modules/faces/trunk/docs/reference/src/main/docbook/en-US/installation.xml).

       

      Anyone got any ideas how to fix (e.g. can does jdocbook come with local dtds which can be used to replace the remote lookups?).

        • 1. Re: Problems with DTDs in (j)docbook builds
          pmuir

          FTR it appears using

           

          <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
             "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" []>

           

          fixes this

          • 2. Re: Problems with DTDs in (j)docbook builds
            jaredmorgs

            Hi Pete

             

            I know we've been in touch over email about other style-related questions. Apologies for not responding to your question here: the forums decided not to notify me of any new activity on the site, so I wasn't even aware you asked a question

             

            Looks like you have resolved the issue yourself, selecting the latest supported DTD from Oasis. I think DocBook 4.3 is quite outdated now.

             

            Hit me up on email if you have any more questions, Pete.

             

            I've enabled notifications on the forum now so hopefully I won't miss any more questions.

             

            Cheers

             

            Jared