[Home] [By Thread] [By Date] [Recent Entries]

  • From: "G. Ken Holman" <gkholman@C...>
  • To: xml-dev@l...
  • Date: Sun, 05 Dec 2010 09:54:30 -0800

At 2010-12-04 23:33 +0000, Michael Kay wrote:
>For a comment syntax, what's wrong with <xml:comment>....</xml:comment>?

Why I would never support that syntax for a comment is that today when I say:

   <xsl:apply-templates select="*"/>

... I know I'm getting *only* my XML content and not any comments 
that might be injected by the user.

I feel comments are benign and must stay that way.  Already I have to 
deal with modeling the xml:* attributes in my schemas ... I wouldn't 
want to have to model comments as well.

I hope this helps.

. . . . . . . . . . . . Ken

--
Contact us for world-wide XML consulting & instructor-led training
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/x/
G. Ken Holman                 mailto:gkholman@C...
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member