Lists Home |
Date Index |
- From: firstname.lastname@example.org (Henry S. Thompson)
- To: email@example.com
- Date: 14 Aug 1998 15:31:03 +0100
Peter Jones <firstname.lastname@example.org> 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: email@example.com
xml-dev: A list for W3C XML Developers. To post, mailto:firstname.lastname@example.org
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:email@example.com the following message;
To subscribe to the digests, mailto:firstname.lastname@example.org the following message;
List coordinator, Henry Rzepa (mailto:email@example.com)