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

RE: XML's Scylla and Charybdis - parse and regexp

  • To: "Jonathan Robie" <jonathan.robie@d...>,"Miles Sabin" <miles@m...>,<xml-dev@l...>
  • Subject: RE: XML's Scylla and Charybdis - parse and regexp
  • From: "Dare Obasanjo" <dareo@m...>
  • Date: Tue, 1 Apr 2003 08:35:39 -0800
  • Thread-index: AcL4a5VqJJbURdNOQ8WeVwIpPZgfPgAAFo0H
  • Thread-topic: XML's Scylla and Charybdis - parse and regexp

scylla and charybdis
In my experience faithful lexical round tripping is mainly important to applications that act as editors. In such cases, the people requesting such features in an API want even more requirements than XML 1.0 deems necessary such as preserving attribute order and all whitespace. 

________________________________

From: Jonathan Robie [mailto:jonathan.robie@d...]
Sent: Tue 4/1/2003 8:26 AM
To: Miles Sabin; xml-dev@l...
Subject: Re:  XML's Scylla and Charybdis - parse and regexp



At 04:18 PM 4/1/2003 +0100, Miles Sabin wrote:
>FWIW, I once put together a (somewhat over-elaborate) SAX-style API
>which allowed for faithful lexical round-tripping as well as supporting
>layering of SAX/DOM/Infoset/XPath APIs above it.

Is faithful lexical round-tripping an important goal? If so, why?

If the Information Set says that there is no distinction between <foo "a"/>
and <foo 'a'/>, why should I work hard to preserve the distinction?

Jonathan


-----------------------------------------------------------------
The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
initiative of OASIS <http://www.oasis-open.org>

The list archives are at http://lists.xml.org/archives/xml-dev/

To subscribe or unsubscribe from this list use the subscription
manager: <http://lists.xml.org/ob/adm.pl>




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-2011 All Rights Reserved.