[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: 15 elementary truths about XML

  • From: Bjoern Hoehrmann <derhoermi@gmx.net>
  • To: "Costello, Roger L." <costello@mitre.org>
  • Date: Mon, 31 Oct 2011 19:29:51 +0100

Re:  15 elementary truths about XML
* Costello, Roger L. wrote:
>1. An XML file is a sequence of zeros and ones called bits.

The file contents might be, but a "file" usually has other data than the
bits of its contents, like a file name.

>2. A sequence of 8 bits is called a byte.

If you have a 32 bit value then the sequence of eight bits starting with
the 3rd would not be called a byte usually.

>3. Thus, an XML file is a sequence of bytes.

That does not follow, and it's not true either, you can easily make a
form of storage that aligns on bit boundaries rather than bytes, that
just happens to be unusual currently.

>6. XML processors always interpret the bytes in XML files as characters.

With the exception of the Unicode signature.

>10. An XML application is software that processes the bytes in an XML file.
>
>11. An XML processor is an XML application. As discussed above, it interprets
>the bytes in XML files as a sequence of characters.

This is incompatible with the terminology in the XML specification where
the application is what controls the XML processor, roughly speaking.

>13. XML applications may interpret the bytes in XML files differently
>than how an XML processor interprets the bytes.

An XML processor does not usually inform the application of the bytes in
some file, so this is confusing the relationships here.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 


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


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.