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

Re: Tradeoffs of XML encoding by enclosing all contentin CDATA

  • From: COUTHURES Alain <alain.couthures@a...>
  • To: Fraser Goffin <goffinf@g...>
  • Date: Tue, 30 Sep 2008 11:20:47 +0200

Re:  Tradeoffs of XML encoding by enclosing all contentin CDATA
Fraser Goffin a écrit :
Before we dismiss these applications as useless because they don't
natively support XML and suggest that there keepers are 'lazy', what
does the group suggest is the best approach to maintaining the correct
encoding. Consider also that some of these may be packaged
applications where the organisation may not have access to the source
code and/or may not want to commit to enhancing it. Perhaps this is a
case for a mediation layer ?
 
I also like to be pragmatic and I think it would be relatively easy to write, let's say, a Java function, to correct or repair such bad XML documents. Some documents could not be repaired but most of them would be...

I  have already written such a function, as a one-pass automat,  for bad-formed HTML (http://sourceforge.net/projects/light-html2xml) to correct tags and put XML entities, replacing HTML entities so parsing can be done.

Do you think it would be a good idea to call such a function before regular parsing ?

Alain COUTHURES
<agenceXML>
http://www.agencexml.com
Bordeaux, France




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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.