cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Colin Paul Adams <co...@colina.demon.co.uk>
Subject Re: XML validation during Cocoon build
Date Mon, 21 Oct 2002 18:29:23 GMT
>>>>> "Jeff" == Jeff Turner <jefft@apache.org> writes:

    Jeff> tool, http://doctypechanger.sf.net for programmatically
    Jeff> stripping off a DOCTYPE declaration, which is the only way
    Jeff> to prevent DTD parsing.

Not quite. If we are using Xerces then:
http://xml.org/sax/features/external-general-entities 
but if any JAXP parser is allowed then you are correct.

    Jeff> In the long term it might to better to abandon DTDs and this
    Jeff> silly idea of parse-time validation altogether.  But since
    Jeff> Colin went to all the trouble of writing a DTD, it would be
    Jeff> good to use it :)

Actually, I haven't created it from scratch. I've just brought the
existing one uptodate, as it was one of the todo items.
-- 
Colin Paul Adams
Preston Lancashire

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message