Lists Home |
Date Index |
On Fri, Apr 30, 2004 at 04:58:22PM +0100, Ed Davies wrote:
> 1. Is having a system id which doesn't actually refer to a DTD
> a sign of faulty XML (i.e., not valid or not well formed)?
It's certainly not valid, but could be well-formed. The difference
between well-formednes and validity is precisely the act of validating
against a DTD (possibly including any internal subset).
> 2. Is this true even if the public identifier is OK?
yes, strictly speaking, although there's some vagueness here.
If you have an XML Catalogue file, you can redirect the system
identifier to a file or URI that you have available.
Or just put the DTD alongside the document :-)
Liam Quin, W3C XML Activity Lead, http://www.w3.org/People/Quin/