W3C home > Mailing lists > Public > www-talk@w3.org > May to June 2002

Doctype, namespace etc.

From: Sigurd Lerstad <sigler@bredband.no>
Date: Fri, 10 May 2002 01:16:06 -0700
Message-ID: <049601c1f7fa$ef250530$390573d5@mmstudioproj>
To: <www-talk@w3.org>

I'm a bit confused, When using a


inside an xml document, it points to the url of a dtd, so it's easy to load
generic xml documents, but mixing xml from different namespaces is
impossible this way? (am I correct).. some xml documents only contain
namespace declaration like

<html xmlns="...." >,

then you know the namespace, but you don't know where the dtd is (or
schema), or you can have

<html xsi:schemaLocation="...", then you know the schema location...

While some documents only contain something like


So many possibilities, so I'm wondering.

Can an xsi:schemaLocation point to a dtd as well as a schema?

If you only have a namespace, does a program have to hardcode the url to the
dtd or schema (or have it stored on the harddisk)?

In the case of embedded mathml/svg inside xhtml, how can you validate that
document against the xhtml dtd? (without getting errors)


Sigurd Lerstad
Received on Thursday, 9 May 2002 19:15:53 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:04 UTC