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

Re: Text Markup Part II

  • From: John Cowan <cowan@mercury.ccil.org>
  • To: Peter Flynn <peter@silmaril.ie>
  • Date: Fri, 20 Jan 2012 16:30:47 -0500

Re:  Text Markup Part II
Peter Flynn scripsit:

> Thank you for reminding me -- a good example. I don't remember (and now  
> cannot find, as most of the links there have broken over time) details  
> of how LMNL announces its presence: is this assumed to be in the  
> filetype, or is there a marker somewhere? 

There is a LMNL declaration analogous to the XML declaration: both are
optional.  In-band document type identification can never be completely
reliable, as it may be accidentally spoofed by something else (just look
at all the comments in your local copy of /etc/magic).  Out-of-band
identification is reliable if present, but may easily get lost: when
an HTTP resource is saved on the local file system, the Content-Type:
header is almost always discarded.

> I was taking (A) to mean marking up a fragment inside a document  
> *without* heralding the fact. I really don't see a use case for that,  
> apart from providing for serendipitous discovery.

Well, what comes to mind is the recognition of XLinks in arbitrary XML
documents based on the xlink namespace.  There is no identification
tag saying "This document has XLinks"; you do have to discover it
by serendipity or exhaustive search.  (The presence of the namespace
declaration, though necessary, is not sufficient.)

-- 
John Cowan  http://ccil.org/~cowan    cowan@ccil.org
There are books that are at once excellent and boring.  Those that at
once leap to the mind are Thoreau's Walden, Emerson's Essays, George
Eliot's Adam Bede, and Landor's Dialogues.  --Somerset Maugham


[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.