Lists Home |
Date Index |
- From: email@example.com (Henry S. Thompson)
- To: firstname.lastname@example.org
- Date: 14 Aug 1998 15:31:03 +0100
Peter Jones <email@example.com> writes:
> I've just been looking at the Namespaces WD of 2-Aug-98
> and I saw the following:
> doctypedecl ::= '<!DOCTYPE' S QName (S ExternalID)? S? ('[' (markupdecl
> | PEReference | S)* ']' S?)? '>'
> I notice that a QName occurs in the definition. Does this mean that a
> Namespace which is global for the (presumably valid) document is
> declared between the <?xml version="1.0" ?> and the doctype decl.?
Nope. The QNames in the prolog are all interpreted as atoms for now.
Namespace declarations are ONLY allowed on actual elements.
The interaction of namespaces and validation has not yet really been
addressed: wait for an update to the XML recommendation itself for
that, I expect.
The best short authoritative description of all this is in David
Megginson's message to this list on 11 August (Message-Id:
Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
Fax: (44) 131 650-4587, e-mail: firstname.lastname@example.org
xml-dev: A list for W3C XML Developers. To post, mailto:email@example.com
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:firstname.lastname@example.org the following message;
To subscribe to the digests, mailto:email@example.com the following message;
List coordinator, Henry Rzepa (mailto:firstname.lastname@example.org)