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

Re: atoms, molecules

  • From: "Simon St.Laurent" <simonstl@s...>
  • To: opensource@t...
  • Date: Thu, 19 Apr 2001 10:47:34 -0400

Re: atoms
At 10:57 AM 4/19/01 +0200, Anders W. Tell wrote:
There is another mechanism which may be a part of a solution.
>I have ealier proposed to the XML schema group a mechanism where it is 
>possible
>to handle "parsable encodings" such as XPath expressions and SVG paths in 
>strings (attributes, etc.),
>called "microparsing".
>In these cases are regular expressions not really sufficient because of 
>complex parsing rules.

Is 'microparsing' something readily defined with a declarative unpacking 
mechanism?

Or does it bind more tightly to a particular processing environment?

Regular expressions don't solve every problem, but I find them attractive 
because of their relative independence from particular platforms and their 
inclusion in XML Schema.

>What I proposed was a mechanism to annotate "compressed" attributes with 
>an equivalent
>XML representatation, ie a binding between string and a corresponding XML 
>fragment.
>This means that XPath strings can be unpacked or tokenized into XML.
>
>However this leaves some problems:  how should these specialized parser be 
>identified and bound at runtime.

I'd think some kind of annotation mechanism might be able to help here - 
sounds like the microparsers would just need identification and some kind 
of infrastructure.  It's not that different from what already happens in a 
lot of applications, just abstracted a layer higher to become metadata 
about a type.


Simon St.Laurent - Associate Editor, O'Reilly and Associates
XML Elements of Style / XML: A Primer, 2nd Ed.
XHTML: Migrating Toward XML
http://www.simonstl.com - XML essays and books


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.