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

layer interactions (was UTF-8+names)


playmobil layer
michael.h.kay@n... (Michael Kay) writes:
>Layering. There is already far too much interaction between the
>physical and logical layers of XML, e.g. the rule that tags in an
>external entity must be well-balanced. It would ideally be possible to
>do all the lexical processing without any interaction with the syntax
>processing. The fact that namespaces are not even part of the XML
>syntax, but a semantic layer on top, would compound the problem even
>further.

Because there is already far too much interaction between the layers,
it's actually not that difficult to implement namespace-qualified entity
names once you've taken control of doing your own entity processing.

I've done some experiments with this in Ripper, and it's about ten lines
of code to make the change.  (Philosophically, it hurts, but it's
actually easier to deal with than QNames in content.)

The problem isn't that namespace-qualifying entity names is difficult;
the problem is that no one wants to open the XML monolith.  Everything
seems to have go below (UTF-8+names) or on top of (element/att
namespaces) that box.

If we hadn't encouraged developers to create monolithic boxes, these
kinds of changes would be easy.  Instead, the XML monolith dominates,
and we don't seem to trust ourselves or our supposed partners to make
changes.

For more along these lines, see:

http://www.mulberrytech.com/Extreme/Proceedings/html/2003/StLaurent01/
EML2003StLaurent01.html  (PDF, article)

http://simonstl.com/articles/halfparse/ (HTML, presentation)

http://simonstl.com/articles/halfparse-smil/ (SMIL, Playmobil)


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.