Documents with both XSD and DTD

Can a document safely reference both a DTD (via <!DOCTYPE ... >)
and an XML Schema Document?

And does a DTD require/allow an XML prolog? I keep getting well-formedness
errors if the prolog is present. I thought that a DTD was SGML, but not
XML, so no prolog was needed, but was told that since an external DTD was
a parsed entity, then it must have a prolog.

I'm confused. And I may have the wrong venue.

Chris Milton

Received on Wednesday, 6 October 2004 13:04:54 UTC