question: where is the colon in processing instruction names

David Megginson david at megginson.com
Wed May 19 15:39:45 BST 1999


Arthur Rother writes:

 > In one of the XML-DEV posted messages it says, that colons
 > are not allowed in processing instruction names.

Colons are not allowed in PI names *for namespace processing*; they
certainly are allowed in XML 1.0.

 > The XML parser in IE5 does not allow colons in processing
 > names.

If it is meant to be XML 1.0 conformant, it should allow colons when
you are not performing namespace processing (though it's probably a
good idea not to use them anyway).  

Others may correct me, but I don't think that a conformant processor
is allowed to reject well-formed XML (expect, perhaps, if the
processing is performing validation and the document is not valid).
Namespaces cannot change this, since XML 1.0 is an independent
standard.


All the best,


David

-- 
David Megginson                 david at megginson.com
           http://www.megginson.com/

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