OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   RE: [xml-dev] XML's Scylla and Charybdis - parse and regexp

[ Lists Home | Date Index | Thread Index ]

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@datadirect-technologies.com]
Sent: Tue 4/1/2003 8:26 AM
To: Miles Sabin; xml-dev@lists.xml.org
Subject: Re: [xml-dev] 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?


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>


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS