Standalone Commons validator error
I am new to commons validator I have been trying to read the xml file below. But on executing the code below I get an error
InputStream in=this.getClass().getResourceAsStream("validator. xml");
ValidatorResources resources = new ValidatorResources(in);
Error is InputStream to parse is null
On checking the jvm.log the following is dispalyed.
<dependency_failed type='leaf_type' ctxk='org/apache/xerces/xni/QName' witness='org/apache/xerces/impl/dv/xs/QNameDV$XQName' stamp='7267.399'/>
<dependency_failed type='leaf_type' ctxk='org/apache/xerces/xni/QName' witness='org/apache/xerces/impl/dv/xs/QNameDV$XQName' stamp='7267.399'/>
<dependency_failed type='leaf_type' ctxk='org/apache/xerces/xni/QName' witness='org/apache/xerces/impl/dv/xs/QNameDV$XQName' stamp='7267.399'/>
<dependency_failed type='leaf_type' ctxk='org/apache/xerces/xni/QName' witness='org/apache/xerces/impl/dv/xs/QNameDV$XQName' stamp='7267.399'/>
<dependency_failed type='unique_concrete_method' ctxk='org/jvnet/hk2/config/types/Property' x='$Proxy55 getName ()Ljava/lang/String;' witness='org/jvnet/h
|