Re: Strange Xerces2 behaviour when validating xmls with namespaceses

2003-12-17 Thread Nitin . Gupta
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

Re: Strange Xerces2 behaviour when validating xmls with namespaceses

2003-12-16 Thread 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

Strange Xerces2 behaviour when validating xmls with namespaceses

2003-12-16 Thread Nitin . Gupta
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

Re: Strange Xerces2 behaviour when validating xmls with namespaceses.

2003-05-14 Thread Alex Shuksto
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. -

Re: Strange Xerces2 behaviour when validating xmls with namespaceses.

2003-05-14 Thread K. Venugopal
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

Strange Xerces2 behaviour when validating xmls with namespaceses.

2003-05-14 Thread Alex Shuksto
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; ...