3 Replies Latest reply on Nov 23, 2005 5:40 AM by Dimitris Andreadis

    How to avoid validating XML for XMBeans?

    Manfred Deutsch Newbie

      Hello,

      I'm using xdoclet to generate XML for XMBeans. This works fine and the XML looks like e. g.:

      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE mbean PUBLIC "-//JBoss//DTD JBOSS XMBEAN 1.0//EN" "http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_0.dtd">


      ...

      When this XML is deployed the server tries to validate it against the mentioned DTD. Unfortunately the server is behind a firewall and cannot get the DTD without using a HTTP proxy.

      I tried to set attribute validateXML to false in jbossxmlservicetemplate and jbossxmbean (xdoclet). But that didn't help. I couldn't find in the JBoss documentation how to switch off validation for XMbeans.

      Where can I configure JBoss not to validate the XML?

      Manfred