Return-Path: Mailing-List: contact general-help@xml.apache.org; run by ezmlm Delivered-To: mailing list general@xml.apache.org Received: (qmail 65109 invoked from network); 16 Dec 2000 20:47:45 -0000 Received: from f125.law10.hotmail.com (HELO hotmail.com) (64.4.15.125) by locus.apache.org with SMTP; 16 Dec 2000 20:47:45 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sat, 16 Dec 2000 12:47:18 -0800 Received: from 64.24.47.89 by lw10fd.law10.hotmail.msn.com with HTTP; Sat, 16 Dec 2000 20:47:18 GMT X-Originating-IP: [64.24.47.89] From: "Manish Worlikar" To: general@xml.apache.org Subject: Re: Please help with the Xerces C++ DOMParser class Date: Sat, 16 Dec 2000 15:47:18 -0500 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 16 Dec 2000 20:47:18.0870 (UTC) FILETIME=[61730F60:01C067A1] X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Hi, I am new to this web development stuff but still I will try to help you. Please read this article and you may get your answer. Let me know if it works for you. http://www.w3schools.com/dtd/dtd_validation.asp Regards, Manish Worlikar >From: "Bill Halchin" >Reply-To: general@xml.apache.org >To: general@xml.apache.org >CC: bhalchin@hotmail.com, jlu@radiantsw.com >Subject: Please help with the Xerces C++ DOMParser class >Date: Sat, 16 Dec 2000 06:06:26 > >Hello, > > I have the following XML "file": > arbitrate (#PCDATA)>]> 1234 > >I am putting it in a MemInputSource object and using the DOMParser >class to parse. If you notice I have an internal DTD. How do I >tell the DOMParser instance that I want my XML "doc/file" to be >validated??? I looked the DOMParser API and saw the >setValidationScheme method. This doesn't seem to cause validation >to be done. > > Another question: assumimg I get the above probelm solved, if the >DOMParser instance encounters a non-valid XML file will it >throw an XMLException or so other kind of exception?? Or to put it >another way, how do I know if validation failed? > >Regards, >Bill > > >_________________________________________________________________ >Get your FREE download of MSN Explorer at http://explorer.msn.com > > >--------------------------------------------------------------------- >In case of troubles, e-mail: webmaster@xml.apache.org >To unsubscribe, e-mail: general-unsubscribe@xml.apache.org >For additional commands, e-mail: general-help@xml.apache.org > _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com