|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: [ Revision #2 ] 15 elementary truths about XML
First, my +(N+1) on accepting all honest XML related posts on this list
regardless of our opinion of them. I personally have enjoyed some of the
side effects triggered by the questions Roger has raised in the past. I
personally do not consider him a "Troll".
A "Troll" is someone who maliciously intends to disrupt a list by feeding
incisive or annoying commentary with the intent of annoying people or better
yet incite others to annoy each other ('flame war'). Well enough of that
!
Now for my own; I disagree with this slightly:
>> 2. As noted above there are no characters in a computer, only bytes.
Thus, "An XML document is a sequence of characters" actually means that an
XML document is an abstraction >> of the underlying sequence of bytes.
To me this implies XML has to be both
A) On a computer
B) In a text serialized form in bytes
I'm actually not sure since I haven't reread the specs with this in mind but
my opinion is that neither are requirements.
A) If I print or write on paper or whiteboard "<XML/>" is that not still
"XML" ? I don't expect a "XML Processor" to be able to read it, but is not
"not XML" just because its in some other media ? And not represented by
bytes and bits.
B) There is a large body of practice where XML never ends up in text
serialized form in 'bytes'. Not referring to Infoset or XDM. But rather
in-memory "strings" of text serialized XML.
Say a Java program dynamically creates an XML text message, in a Java String
and parses it in memory. No where has it been converted to any encoding in
bytes.
Yet it is still "XM".
So I would say more clearly "XML Is an abstraction of a sequence of
characters" but not necessarily is there 'underlying bytes'.
----------------------------------------
David A. Lee
dlee@calldei.com
http://www.xmlsh.org
[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! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart


![RE: [ Revision #2 ] 15 elementary truths about XML](/images/get_stylus.gif)





