Thanks a lot Venu,
I was stuck up in this problem for nearly a week now. It is working fine.
i still don't know how.
Regards
Nitin Gupta
Venu
Hi Nitin ,
A quick answer is to set the following feature to true.
http://apache.org/xml/features/validation/dynamic
let us know.
-venu
[EMAIL PROTECTED] wrote:
hi all
there has been a mail with the same subject some months ago. it was
regarding DOM. I am facing the same problem with XMLReader.
Th
hi all
there has been a mail with the same subject some months ago. it was
regarding DOM. I am facing the same problem with XMLReader.
There is a file rtrv_dgn_status.xml and two xsds Dialog.xsd,
DialogTypes.xsd.
Following is the method in which parse is called.
protected void build(InputSource i
set the following feature to true .
documentBuilderFactory.setNamespaceAware(true);
Regards
venu
Big thanks.
It was not clear for me that "http://xml.org/sax/features/namespaces";
feature is "true" by default for new DOMParser and "false" for DOMParser
in DocumentBuilderImpl. Thanks again.
-
HI Alex,
set the following feature to true .
documentBuilderFactory.setNamespaceAware(true);
Regards
venu
Alex Shuksto wrote:
Good day everybody.
There is some strange things with xerces when i'm trying to validate attached
file "test.xml", defined with "test.xsd" (also attached):
I
Good day everybody.
There is some strange things with xerces when i'm trying to validate
attached file "test.xml", defined with "test.xsd" (also attached):
I can instanciate org.apache.xerces.parsers.DOMParser, set the features
and parse file:
---
import org.apache.xerces.parsers.DOMParser;
...