[Home] [By Thread] [By Date] [Recent Entries]

  • 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

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>




Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member