1 Reply Latest reply on May 9, 2007 1:00 PM by pmuir

    dtd schema validation in offline mode

      Hi!

      i googled about this but wasnt able to solve this...

      if i do the DOCTYPE declarations like that:
      <!DOCTYPE pages PUBLIC
      "-//JBoss/Seam Pages Configuration DTD 1.1//EN"
      "pages-1.1.dtd">

      Eclipse seeks for the pages-1.1.dtd in the same folder as the xml whereas jboss seems only to look in its bin directory:

      18:51:15,015 ERROR [SeamPhaseListener] uncaught exception
      java.lang.RuntimeException: org.dom4j.DocumentException: D:\develop\jboss-4.0.5.GA\bin\pages-1.1.dtd Nested exception: D:\develop\jboss-4.0.5.GA\bin\pages-1.1.dtd

      whats the right way to define a dtd for offline usage so that both eclipse and the running application get it right ?

      Thanks a lot,
      Tobias
      Kilian