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

RE: Common XML (was Re: Document Feature Requirements)

  • From: Sean McGrath <sean@d...>
  • To: xml-dev@x...
  • Date: Mon, 10 Apr 2000 16:41:57 +0100

what is xml round tripping
[David Hunter]
[...]
>
>I've seen people mentioning (perhaps not explicitly) that when you put a PI
>into a document, it may not make it through round-tripping, and only certain
>applications would know how to handle it; but that's the POINT.  A PI has a
>PITarget - an application that knows what this PI means, and what it's
>supposed to do with it.  Other applications don't (or shouldn't) need to
>know about that PI.

They need to know about the PI insofar as XML->XML transformations
should not *loose* the PI.

> (I'd also like to know why "round tripping" is of such
>importance to Common XML, and what is meant by the term in this context.)

Software that takes XML in on the input side and produces some
form of XML on the output side. This is round-tripping. Loosing
PIs, comments etc. as part of round tripping is generally
unacceptable.

>
>Along the same lines, people have worried that round-tripping documents
>might lose comments, but again, that's fine.

No it is not fine. I write a program that munges the telephone numbers stored
in the 5 GB of XML that make up the documentation for my
organizations products. In so doing, I loose all the comments?
Boy, will I be popular with the tech. doc. department!

[...]
>
>If Common XML is advocating that you don't do things like
><!--bgcolor='whatever'--> because it's not really part of the document, then
>I'm right there with the SML-DEV developers.  But if they're saying that you
>should instead include comment information in elements, so that they can
>make it through this nebulous "round tripping" concept, then they've lost
>me, because comments are not supposed to be part of the document, and we
>shouldn't be treating them as such.

It boils down to what you are happy to loose from your XML documents
as part of everyday XML->XML transformations. I don't use XML 1.0
comments precisely because they don't make it through most
XML wringers.
<comment>I do have comments in my documents though:-)</comment>


http://www.pyxie.org - an Open Source XML Processing library for Python


***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************

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.