I want to use RELAX NG validation of XML documents in JBoss, and I want to use the javax.xml.validation API to lookup the validator.
However, I cannot get my application to find the RELAX NG validation when running within JBoss.
I use these two jar files:
and it works fine from a standalone Java application.
I have tried to put these two jar files in every possible location,
java.lang.IllegalArgumentException: http://relaxng.org/ns/structure/1.0 at javax.xml.validation.SchemaFactory.newInstance(Unknown Source)
I forgot to include some information about my environment:
[Server] Release ID: JBoss [Zion] 4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339) [ServerInfo] Java version: 1.5.0_08,Sun Microsystems Inc. [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_08-b03,Sun Microsystems Inc. [ServerInfo] OS-System: Linux 2.6.17-11-386,i386