XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
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] Why is Encoding Metadata (e.g.encoding="UTF-8") put Inside the XML Document?


On Sep 20, 2007, at 10:05 AM, Rudick, Tom wrote:

> So we know that the first character in an xml document must be <.
> Which has the ASCII value of 60.

No, that's not true.  The smart thing to do would to point at http:// 
www.w3.org/TR/REC-xml/#sec-guessing-no-ext-info, which has a very  
complete explanation of how this is done.

> So a parser will keep reading in bytes until it gets up to 60.

No!  Good heavens.  Go read the specification.  -Tim



[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