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


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
RE: [xml-dev] [Summary #2] Why is Encoding Metadata (e.g. encoding="UTF-8") put Inside the XML Document?

Hi Robin,

Thanks for the reference.  Good information!  I've added a link to it.

I took a look at the reference and yes the recommendations we are
making are consistent with those in the referenced document.  

The referenced document recommends:

1. Always declare the encoding of your documents

2. The meta charset declaration should appear as close as possible to
the top of the head element.

And here's the recommendations we have:

1. XML Documents: always use an XML declaration, with encoding.

2. HTML Documents: always use the meta tag and place it at the top of
the header section, i.e. the first child of <head>.


-----Original Message-----
From: Robin Cover [mailto:robin@oasis-open.org] 
Sent: Friday, September 21, 2007 12:46 PM
To: Costello, Roger L.
Cc: xml-dev@lists.xml.org
Subject: Re: [xml-dev] [Summary #2] Why is Encoding Metadata (e.g.
encoding="UTF-8") put Inside the XML Document?


Thanks for this contribution, and for maintaining it in
response to user feedback.

Question: do your explanations and recommendations align
with guidance provided (at corresponding points) in the 
W3C Tutorial?

"Tutorial: Character sets & encodings in XHTML, HTML and CSS"




On Fri, 21 Sep 2007, Costello, Roger L. wrote:

> Hi Folks,
> Excellent discussion!  Thank you!
> Here is the updated document, based on my understanding of all your
> comments:
> http://www.xfront.com/specifying-encoding/
> As always, please let me know of any errors or unclear parts.
> /Roger
> XML-DEV is a publicly archived, unmoderated list hosted by OASIS
> to support XML implementation and development. To minimize
> spam in the archives, you must subscribe before posting.
> [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
> Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
> subscribe: xml-dev-subscribe@lists.xml.org
> List archive: http://lists.xml.org/archives/xml-dev/
> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]

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

Copyright 1993-2007 XML.org. This site is hosted by OASIS