<?xml declaration

David Megginson ak117 at freenet.carleton.ca
Thu Dec 11 15:08:00 GMT 1997


james anderson too writes:

 > i think the "proposed recommendation" drafters agree with you. to wit (from
 > http://www.w3.org/TR/PR-xml-971208):
 > 
 > [17]  PI ::=  '<?' PITarget (S (Char* - (Char* '?>' Char*)))? '?>'
 > [18]  PITarget  ::=  Name - (('X' | 'x') ('M' | 'm') ('L' | 'l'))

No, not at all.  At least as I read it (and I'm not in the WG or the
SIG), you _must_ begin the XML declaration with lowercase "<?xml"
followed by whitespace.

The productions that you've quoted merely indicated that processing
instructions beginning with the strings "xml", "xmL", "xMl", "xML",
"Xml", "XmL", "XMl", and "XML" are reserved for future use.


All the best,


David

-- 
David Megginson                 ak117 at freenet.carleton.ca
Microstar Software Ltd.         dmeggins at microstar.com
      http://home.sprynet.com/sprynet/dmeggins/

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/
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