[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Validation irrespective of DOCTYPE?
- From: David Brownell <firstname.lastname@example.org>
- To: Jeff Turner <email@example.com>, firstname.lastname@example.org
- Date: Mon, 16 Jul 2001 18:15:09 -0700
> Or can I just insist that my upstream source supplies a DOCTYPE? Is this
> commonly regarded as part of the XML "contract"?
I certainly regard it that way, though I'd believe there are people who
don't. (In much the same way I believe in alien life forms ... :)
If there's no DTD at all, you may also be able to just use a streaming
validator like this one:
Preload the DTD, and then push the output through that.