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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: SAX-J and the DPH (DJH?)

[ Lists Home | Date Index | Thread Index ]
  • From: Chris Maden <crism@ora.com>
  • To: xml-dev@ic.ac.uk
  • Date: Tue, 30 Dec 1997 10:35:17 -0500

[Sean McGrath]
> I am wondering where XML-Devers see SAX-J relative to DPH?.

By definition, the DPH isn't going to have much to do with SAX-J.
However, you raise a good point; the SAX-J folks should decide whether
an identity transform is a goal, and if so, comments need to be
included.  If not, then SAX-J is not an appropriate tool to use for
document transformations.

> He is the guy staring at 10GB of corporate XML docs and just wants
> to change
> 
> <telephone>555-1234</telephone>
> 
> into
> 
> <telephone>555-4321</telepone>
> 
> throughout the whole lot. If he uses SAX-J he blows all the
> aide-memoires stuffed into his comments? He also blows his CDATA
> marked sections. Is the DPH destined to always use a fully blown
> parser to output XML?

Hell, no!  He'd be a fool to use Java for this when
s/555-1234/555-4321/g will do the trick.  (I suspect that in any
real-world situation like this, *all* numbers would want to be
changed, but if not, just include the markup in the sed command.)

-Chris
-- 
<!NOTATION SGML.Geek PUBLIC "-//Anonymous//NOTATION SGML Geek//EN">
<!ENTITY crism PUBLIC "-//O'Reilly//NONSGML Christopher R. Maden//EN"
"<URL>http://www.oreilly.com/people/staff/crism/ <TEL>+1.617.499.7487
<USMAIL>90 Sherman Street, Cambridge, MA 02140 USA" NDATA SGML.Geek>

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)





 

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

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