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

Re: xml-dev Digest 7 Nov 2013 14:35:15 -0000 Issue 2878

  • From: Sean McGrath <sean.mcgrath@propylon.com>
  • To: xml-dev@lists.xml.org
  • Date: Thu, 07 Nov 2013 08:59:02 -0600

Re: xml-dev Digest 7 Nov 2013 14:35:15 -0000 Issue 2878
[Roger Costello]
It just dawned on me that a "schema validator" is actually a parser.

The big "aha moment" for me back in the day was when it dawned on me that running Charles Goldfarb's ARCSGML from the command line was essentially equivalent to a lex phase, followed by a yacc phase.

Some time later on, when I figured out the SGML Declaration stuff, it dawned on me that there was a pre-lex component also, that specified the lexical atoms that would then be turned into tokens (the lex-ing) that would then be structurally validated (the yacc-ing).

Some time later on, when I figured out OMITTAG and CONREF an CONCUR etc., it dawned on me that I could tweak the parsing and validation and the resultant parse tree in various ways.

Some time later on, my brain started seeping out of my ears and I began wishing that all the various phases had been neatly stacked on top of each other as separate pieces of work with some sane stream-centric data structure flowing between them. (I think this happened when I was reading the HyTime standard.)

Some time later on, my brain fully exploded when I realised that there is no clean layered separation possible (at least that I could envisage) that would still give you all the features of full-on SGML.

Some time later on, I concluded that this is inevitably true in any powerful text processing system because semantics - real semantics - is on great big hermeneutic circle.

Sean




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