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] Terminology (was: RFC for XML Object Parsing)

On Sun, 2014-03-23 at 14:12 -0400, Arjun Ray wrote:

> On a more serious note, _is_ XML terminilogy "standardized" in any
> way? 

The XML Recommendation and the XML Information Set (infoset) are the
closest we come.

My first reaction would be to stay well away from a spec that claimed to
understand XML and then confused tag, element and attribute. Sometimes
I'd be the one to lose out, though, I expect.

> 
> For 'tag', I would argue that it means (the entirety of) the markup at
> either the start or the end of an element.

Ys. tags are physical, elements are logical.

>  While any other intended
> meaning is probably a lack of RTFM, there's no denying the attraction
> of short monosyllabic substitutes for long-winded terminology.  Hence,
> sadly, the ubiquitous misuse of 'tag'.

That and the crazily-named DOM function 'get elements by tagname", as if
there were tags with names other than start, end, and, possibly, empty.

Liam


-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org freenode/#xml



[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