[jboss-user] [Installation, Configuration & DEPLOYMENT] - jboss-ds_1_5.dtd Validation problems

dlmiles do-not-reply at jboss.com
Sun Apr 6 03:48:25 EDT 2008


First of all the URL: http://www.jboss.org/j2ee/dtd/jboss-ds_1_5.dtd does not return the correct document.

Second JBoss 5.0.0 Beta 4  DTD resolver for jboss-jca.jar does not seen to be able to locate the local copy of jboss-ds_1_5.dtd .

Third if I extract the jboss-ds_1_5.dtd from jboss-jca.jar and put it up on my own website and edit my deploy/foobar-ds.xml to point to my URL it downloads the copy of my website.  But that verbatim copy also has problems:

Caused by: org.xml.sax.SAXParseException: A ')' is required in the declaration of element type "local-tx-datasource".

I presume it is talking about this section, but it all looks good to me:

<!-- Specify a jca-jdbc non-XADatasource (local) wrapper, using local
  | transactions
  | -->
  | <!ELEMENT local-tx-datasource (jndi-name , use-java-context?, connection-url ,
  | url-delimeter?, url-selector-strategy-class-name?,
  | driver-class, transaction-isolation? , connection-property* , user-name? , password? ,
  | (application-managed-security | security-domain | security-domain-and-application)? ,
  | min-pool-size? , max-pool-size? , blocking-timeout-millis? , background-validation?, background-validation-minutes?,
  | validate-on-match?, idle-timeout-minutes?
  | no-tx-separate-pools? , new-connection-sql? , check-valid-connection-sql? ,
  | valid-connection-checker-class-name? , exception-sorter-class-name? , stale-connection-checker-class-name?, track-statements? ,
  | prefill?, use-fast-fail?,
  | prepared-statement-cache-size?, share-prepared-statements? , set-tx-query-timeout?, query-timeout?,
  | metadata?, type-mapping?, depends*)>
  | 
  | 


So my real question is how do you turn off the XML validation ?


Is there something wrong with my setup ?  Surely at least one unit test must have failed before JBoss 5.0.0 Beta4 shipped ?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4141875#4141875

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4141875



More information about the jboss-user mailing list