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

Re: Partyin' like it's 1999


the smell by p. mcgrath
Elliotte Harold wrote:

> Sean McGrath wrote:
>
>
>> 1) The lack of sane, simple roundtrippability. I read in some XML, I 
>> write it straight back out again. I loose stuff on the way. R u nuts? 
>> And you call this a machine processible data format:-)
>
>
> In my experience if you really care about anything you lose (CDATA 
> sections, entity references vs. characters, etc.), that's a serious 
> code smell that indicates a major flaw in the stuff. Yeah, the stuff 
> that comes out may not be as nicely formatted for humans reading it 
> with more or a text editor, but often even that can be fixed with 
> appropriate options on the serializer.
>
> I'm not sure exactly what this RIG thing you cited is, or what your 
> use case is, but after skimming the spec, my nose is going nuts. This 
> smells very bad. Why would anybody ever care about preserving 
> attribute order? Why forbid CDATA sections? And section 12.1, "XML 1.0 
> features that, if present in an instance, will cause RCF1 to RCF 
> conversion to fail" includes "Presence of control characters in the 
> U+0000 to U+001F range other than TAB (U+0009), CR (U+000D) and LF 
> (U+000A)." These are not XML 1.0 features. If these things show up the 
> document is malformed, irrespective of all the extra rules you're 
> piling on top of raw XML. There's something deeply wrong here. :-(

The use case here is transmitting XML-based messages from one service to 
another service on a Service Oriented Architecture and doing it in such 
a way that (a) it is possible to be sure that a message routed "straight 
through" has not been tampered with and yet (b) the XML is fully 
visibile - not a lump of attatchment goo - for the purposes of 
intelligent routing.

Equally important is the fact that an intermediating service can 
add/modify/delete content from the XML instance without doing damage to 
the untouched parts of the instance.

Sean

-- 
http://seanmcgrath.blogspot.com



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.