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] A seemingly odd question: What is XML?


The question is meaningless unless we accept XML's own particular
distinction between  "tag" and "text". In XML World, surely the text
is embedded in the tags, which is why I agree with John Cowan. (See
Production 1 of the XML Rec, where 'CharData' does not appear, but
'element' does.)

But outside XML World, the tags are text as much as the text is -- if
not more so, to a class of strange creatures that may include XML
parsers, since the tags are the only "text" they know how to read.

Cheers, Wendell

On Thu, Mar 20, 2014 at 10:03 AM, John Cowan <johnwcowan@gmail.com> wrote:
> On Thu, Mar 20, 2014 at 5:30 AM, Costello, Roger L. <costello@mitre.org>
> wrote:
>> Which is correct:
>> (a) XML is a bunch of tags embedded in text.
>> (b) XML is a bunch of text embedded in tags.
> Both are wrong, but (b) is less wrong.

Wendell Piez | http://www.wendellpiez.com
XML | XSLT | electronic publishing
Eat Your Vegetables

[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