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] technical term (and reference) for "XML fragment"

Julian Reschke wrote:
> Hi,
> what's the preferred technical term (and a precise reference) for the 
> thing that's frequently called an "XML fragment" (*)?
> In the XML spec, <http://www.w3.org/TR/REC-xml/#NT-content> seems to 
> be the right production, but "content" does not work well as term used 
> outside the XML spec's context...
> Feedback appreciated, Julian 
There are a lot of different possibilities, especially depending on what 
kind of information you are dealing with (text, markup, infoset, 
trees):  element, range, fragment, branch, entity.

It may be that the term you are looking for is "section".  XML has one 
kind of marked section in elements, the CDATA marked section, but SGML 
has others not necessarily synchronous with element structure.  If we 
can speak of a marked section, I don't see why we cannot speak of 
unmarked sections too.

Perhaps  "range" would be better kept for regions defined over the 
infoset (range is defined in XPointer, to its failure), while "section" 
would be better for regions defined over the markup or raw text.

Rick Jelliffe

[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