You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Mel Rod <me...@hotmail.com> on 2001/03/16 15:54:02 UTC

Validating a xml

Hi,

I have an xml file and a dtd. I am trying to parse it using the
validating parser. For some reason it does not throw any exceptions on non 
conformace. I have set the validating feature to true.

Please advise.

Melroy
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org


RE: Validating a xml

Posted by Ragunath Marudhachalam <rm...@circuitvision.com>.
Hi Micheal,

Do you have any sample code for validating a xml docuement with schema???


-----Original Message-----
From: Michael Duffy [mailto:duffymo@yahoo.com]
Sent: Friday, March 16, 2001 10:50 AM
To: xerces-j-user@xml.apache.org
Subject: Re: Validating a xml



Did you write an ErrorHandler to report errors,
warnings, and fatal errors?  Also, make sure you have
both validation features turned on: vanilla and
schema.  

--- Sanjay Bhatia <sb...@yahoo.com> wrote:
> uhh... How about a little more detail Rod?  Which is
> the validating parser
> you're using?
> 
> sb
> 
> 
> --- Mel Rod <me...@hotmail.com> wrote:
> > 
> > Hi,
> > 
> > I have an xml file and a dtd. I am trying to parse
> it using the
> > validating parser. For some reason it does not
> throw any exceptions on non 
> > conformace. I have set the validating feature to
> true.
> > 
> > Please advise.
> > 
> > Melroy
> >
>
_________________________________________________________________
> > Get your FREE download of MSN Explorer at
> http://explorer.msn.com
> > 
> > 
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> xerces-j-user-unsubscribe@xml.apache.org
> > For additional commands, e-mail:
> xerces-j-user-help@xml.apache.org
> > 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail. 
> http://personal.mail.yahoo.com/
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> xerces-j-user-unsubscribe@xml.apache.org
> For additional commands, e-mail:
> xerces-j-user-help@xml.apache.org
> 


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org


Re: Validating a xml

Posted by Michael Duffy <du...@yahoo.com>.
Did you write an ErrorHandler to report errors,
warnings, and fatal errors?  Also, make sure you have
both validation features turned on: vanilla and
schema.  

--- Sanjay Bhatia <sb...@yahoo.com> wrote:
> uhh... How about a little more detail Rod?  Which is
> the validating parser
> you're using?
> 
> sb
> 
> 
> --- Mel Rod <me...@hotmail.com> wrote:
> > 
> > Hi,
> > 
> > I have an xml file and a dtd. I am trying to parse
> it using the
> > validating parser. For some reason it does not
> throw any exceptions on non 
> > conformace. I have set the validating feature to
> true.
> > 
> > Please advise.
> > 
> > Melroy
> >
>
_________________________________________________________________
> > Get your FREE download of MSN Explorer at
> http://explorer.msn.com
> > 
> > 
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> xerces-j-user-unsubscribe@xml.apache.org
> > For additional commands, e-mail:
> xerces-j-user-help@xml.apache.org
> > 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail. 
> http://personal.mail.yahoo.com/
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> xerces-j-user-unsubscribe@xml.apache.org
> For additional commands, e-mail:
> xerces-j-user-help@xml.apache.org
> 


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org


Re: Validating a xml

Posted by Sanjay Bhatia <sb...@yahoo.com>.
uhh... How about a little more detail Rod?  Which is the validating parser
you're using?

sb


--- Mel Rod <me...@hotmail.com> wrote:
> 
> Hi,
> 
> I have an xml file and a dtd. I am trying to parse it using the
> validating parser. For some reason it does not throw any exceptions on non 
> conformace. I have set the validating feature to true.
> 
> Please advise.
> 
> Melroy
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-j-user-help@xml.apache.org
> 


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org