OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: <?xml declaration

[ Lists Home | Date Index | Thread Index ]
  • From: james anderson too <mecom-gmbh@mixx.de>
  • To: Richard Light <richard@light.demon.co.uk>, "xml-dev@ic.ac.uk" <xml-dev@ic.ac.uk>
  • Date: Thu, 11 Dec 1997 14:43:07 +0100

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'))

Richard Light wrote:

> Hi,
>
> I notice that the current draft has switched the case of the XML
> declaration and its arguments to lower case:
>
> <?xml version="1.0" encoding="UTF-8"?>
>
> Now that case is significant, this presumably matters.  Is there a
> particular reason for this?  Other PIs will have a PItarget where 'xml'
> sits, and this isn't constrained to be any particular case.  Wouldn't it
> be kinder to make it '<?' ('XML'|'xml') ... ?!
>
> (The DTD declarations (<!ELEMENT, etc.) remain in upper case, presumably
> for compatibility with what SGML systems produce.)
>
> Richard.
>
> Richard Light
> SGML/XML and Museum Information Consultancy
> richard@light.demon.co.uk
>
> 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)




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)





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS