avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leo Simons <leosim...@apache.org>
Subject Re: Validate XML all the time?
Date Tue, 01 Oct 2002 08:58:49 GMT
On Tue, 2002-10-01 at 01:47, Peter Donald wrote:
> Hiya,
> 
> Does anyone know of a method in which you can force an XML parser to validate 
> against a specific DTD regardless of whether it is declared or not. So 
> effectively I want to ignore the presence of DOCTYPE and always specify the 
> doctype myself. 
> 
> I can see this is possible using external APIs or parser specific APIs but 
> does anyone know of any vaguely standard way of doing this. Set a feature of 
> some sort?

I think there is none. There's hacks for it to be found all over the
place of course (it is a common need) =)

cheers,

Leo



--
To unsubscribe, e-mail:   <mailto:avalon-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-dev-help@jakarta.apache.org>


Mime
View raw message