Asking again. Are you planning to provide a way not to throw an exception if dtd does not exists ?
My application strictly requires this. In the previous version (xml4c 2.3.1) I might to catch this exception and continue
parsing. Now, it became a critical exception.
I know  that xml rec says that if dtd is reffered but does not exists the document is invalid.
But no one prevent you, to keep this by default, and provide an additional feature, to break this.
(it may be a method, additional parameter or just #define variable)
 
Thanks for your cooperation.
 
----- Original Message -----
Sent: Thursday, April 26, 2001 2:06 PM
Subject: RE: PLEASE HELP: SAX parser errors on validation when ValScheme=Val_Never?????

Yes that is the correct behaviour.
The DTD can contain definitions that are needed even when not validating.

/ Erik Rydgren


-----Original Message-----
From: Prior, Chris [mailto:[EMAIL PROTECTED]]
Sent: den 26 april 2001 13:00
To: '[EMAIL PROTECTED]'
Subject: PLEASE HELP: SAX parser errors on validation when
ValScheme=Val_Never?????


Hi all,

I am using the SAX parser and setting validation to Val_Never, yet when I
parse an xml doc that specifies a dtd the parser fails if it cannot find the
dtd!!!

Why is this the case when I am not interested in validating? Surely looking
for the dtd when no validation is required is not correct?

Please help!

Chris



___________________________________________________
Email Disclaimer

This communication is for the attention of the
named recipient only and should not be passed
on to any other person. Information relating to
any company or security, is for information
purposes only and should not be interpreted as
a solicitation or offer to buy or sell any security.
The information on which this communication is based
has been obtained from sources we believe to be reliable,
but we do not guarantee its accuracy or completeness.
All expressions of opinion are subject to change
without notice. All e-mail messages, and associated attachments,
are subject to interception and monitoring for lawful business purposes.
___________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to