Subject: RE: [xsl] CDATA Handling From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Wed, 07 Jan 2009 11:48:24 -0500 |
In my opinion, the comment and processing instruction annotations should be able to be completely removed from an XML document without changing its information. Yes, the processing of the information might change, but that nothing would be lost.
I recognize the suggested use of start and end delimited the information, so the argument could be made that even that route to this issue would lose some information if the annotations were removed.
But at least no data would be lost and could be recovered if all annotations were stripped.
When I teach XML I distinguish the two annotations as typically "comments for humans" and "pis for programs", and like the perspective of a DTD that cannot constrain annotations, there should be no inherent information *in* annotations. The data integrity should not be lost if all annotations are removed.
After all, the built-in template rules in XSLT do nothing with annotations. That says a lot to me there.
But that's just my perspective.
Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] CDATA Handling, G. Ken Holman | Thread | RE: [xsl] CDATA Handling, J. S. Rawat |
Re: [xsl] casting sequences, Andrew Welch | Date | Re: [xsl] XSLT, Web applications, a, Wendell Piez |
Month |