[XML-DEV Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
Re: The XML abstraction leaks
- From: Michael Kay <mike@saxonica.com>
- To: "Costello, Roger L." <costello@mitre.org>
- Date: Thu, 11 Aug 2016 11:51:03 +0100
While the inability to carry arbitrary payload without escaping special characters is certainly a nuisance, it has absolutely nothing to do with abstraction or leaks therein.
As far as I know there are essentially only two known techniques for protocol layering to allow arbitrary content to be embedded as payload in a higher-layer protocol. One technique is to reserve a token to mean "end of payload", which means this token cannot appear in the payload without escaping; the other is to use a length-of-payload field in the header. Neither is convenient for human users, but the use of an end-of-payload token has become far more popular, probably for very good reasons. One can argue with the detail of the way it's done in XML, for example why two characters are reserved rather than only one, but it's hard to argue with the principle.
Michael Kay Saxonica |
[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!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
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.
|
|