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

Re: "Introducing MicroXML, Part 1: Explore the basicprinciples

  • From: John Cowan <cowan@mercury.ccil.org>
  • To: Len Bullard <Len.Bullard@ses-i.com>
  • Date: Fri, 13 Jul 2012 11:38:27 -0400

Re:  "Introducing MicroXML
Len Bullard scripsit:

> If PIs are not available, this will likely eliminate MicroXML as a
> markup language for composition intensive applications where
> content-tagged structures such as Notes, Cautions and Warnings must by
> specification be bound to the same page.  IOW, it and any applications
> using it are pretty much shut out of the mil-technical manual business
> because this kind of information is out-of-band and often denoted by
> PIs.

I came to the same conclusions, and compromised:

1) PIs are in the syntax, but not in the data model.  In MicroLark,
if you want them, you have to use the pull or the push parser, because
the tree parser ignores them.  There's even a switch to turn them into
fatal errors, if you decide you really don't want to deal with them.

2) Syntactically they have to look like start-tags except for the
<? and ?>.  That was pragmatic: there are a lot of widely used PIs that
already look like that, and it made parsing them trivial.  They are
reported with the pseudo-attributes already nicely parsed.

> For example:
> 
> <?pub _newline?>

<?pub _newline="yes"?>, or perhaps even <?pub _line="new"?>.

> Some rather large organizations would have to rewrite applications and
> convert large datasets.  For those organizations, the decision to remain
> with XML is made for them.

Indeed, and so it should be.  People who were heavily invested in SGML
didn't throw it all away and convert to XML, not if they were rational
economic actors.  As they needed to modernize their systems, they may
have redesigned them on an XML base.

-- 
John Cowan    http://www.ccil.org/~cowan   <cowan@ccil.org>
    "Any legal document draws most of its meaning from context.  A telegram
    that says 'SELL HUNDRED THOUSAND SHARES IBM SHORT' (only 190 bits in
    5-bit Baudot code plus appropriate headers) is as good a legal document
    as any, even sans digital signature." --me


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