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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: XML processing instruction survey

[ Lists Home | Date Index | Thread Index ]
  • From: David Megginson <david@megginson.com>
  • To: "'XML Dev'" <xml-dev@ic.ac.uk>
  • Date: 30 Nov 1999 21:39:19 -0500

"James Tauber" <jtauber@jtauber.com> writes:

> > I'm interested in the extent to which people are actually using the XML
> > processing instruction ( <?xml ) in their XML files, and the extent to
> which
> > they find it useful.
> 
> You mean the XML Declaration?
> 
> It is clearly useful if you use a different character encoding to UTF-8
> (hence also US-ASCII) or UTF-16.

The XML Declaration (not a PI) is also very useful for
forwards-compatibility, so that in the future XML 1.1 (etc.) parsers
will know that they are dealing with XML 1.0 and can either [a] apply
the appropriate rules or [b] die gracefully, depending on the
requirements of future XML specs, if any.

The bad news is that level-three browsers do ugly things when they see 
the XML declaration, but they do ugly things with lots of XML syntax
(since they're not actually XML browsers).


All the best,


David

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

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/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo@ic.ac.uk the following message;
unsubscribe 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