question: where is the colon in processing instruction names

John Cowan cowan at locke.ccil.org
Wed May 19 16:58:44 BST 1999


Arthur Rother wrote:

> The question is, is [colon in PI targets] allowed, and if not, why?
> This is probably discussed allready, but I could not find
> more as the one message mentioned.

Not allowed, because colons are allowed only in element and
attribute names.  There is a note near the end of XML-Namespaces
explaining this.  (Of course they are allowed in vanilla XML 1.0
without namespaces, but they are discouraged, unless you are
experimenting with a namespace mechanism other than XML-Namespaces.)

The mechanism for mapping PI targets to URIs is a notation declaration,
as explained in XML-Rec.

-- 
John Cowan	http://www.ccil.org/~cowan		cowan at ccil.org
	You tollerday donsk?  N.  You tolkatiff scowegian?  Nn.
	You spigotty anglease?  Nnn.  You phonio saxo?  Nnnn.
		Clear all so!  'Tis a Jute.... (Finnegans Wake 16.5)

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list