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

RE: RE: Take 2 - How do you replace comments from XML?

placing comments in xml

> > > Who, BTW, firmly agrees with other posters in that using
> > comments as
> > > start-tags and end-tags is a Really Bad Idea.
> >
> > Who, BTW, hadn't looked too closely at what was being done
> > (shame on MS),
> I'm curious, where exactly is the bad practice that calls for shame on
> Microsoft's behalf? Since when was placing comments in an XML file a bad
> thing?

From Dominica's post:
> The file I'm working with is a MS .NETFramework system file under
> C:\WINNT\Microsoft.NET\Framework\v1.0.3705\CONFIG called machine.config.
> It's an XML file.   It uses comments to separate sections of

The comments in the XML may have been put there for human-legibility, but
they've certainly got a meaning that machines may want to get at, hence
Dominica's question. The comments in this thread have been pretty unanimous
in condemming the use of XML comments to demarcate regions of the data for
processing. Maybe 'shame' was too strong - perhaps better just to suggest
this gets refactored before the final release.



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.
First Name
Last Name
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.