OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] OpenOffice.org DOCTYPE declaration

[ Lists Home | Date Index | Thread 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/


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS