[
Lists Home |
Date Index |
Thread Index
]
- From: ht@cogsci.ed.ac.uk (Henry S. Thompson)
- To: xml-dev@ic.ac.uk
- Date: 14 Aug 1998 15:31:03 +0100
Peter Jones <peterj@wrox.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:
<199808112127.RAA01625@unready.megginson.com>),
http://www.lists.ic.ac.uk/hypermail/xml-dev/9808/0395.html.
ht
--
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: ht@cogsci.ed.ac.uk
URL: http://www.ltg.ed.ac.uk/~ht/
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)
|