4 Replies Latest reply on Aug 21, 2003 9:19 AM by Raja

    JBoss-3.2.1 - How do I edit JBoss DTD's

    Kayvan Mojarrad Newbie

      Hi,

      I thought that JBoss used the dtd's that come with JBoss distribution in JBOSS_HOME/docs/dtd/, but when I edit these this makes no difference.

      I'va also tried using a private doctype:

      <!DOCTYPE jbosscmp-jdbc SYSTEM "http://localhost/dtd/jbosscmp-jdbc_3_2.dtd">

      (I've created a webapp with the dtd's where the URL points)

      But this results in no validation being performed.

      Is there a way to use custom validation for JBoss deployment files?

      I know it seems an unlikely thing to want to do but I'm trying to create an empty load-group so that calling the abstract getter method for the primary key does not load any unloaded fields.

      This works fine when there's no validation - the app deploys and creates the empty load-group - but I'd rather have the validation there for future additions to the file.

      Thanks,

      kv.