OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] Towards XML 2.0

On 05/12/2010 22:20, Jirka Kosek wrote:
> Michael Kay wrote:
>> For a comment syntax, what's wrong with<xml:comment>....</xml:comment>?
> Validation? In order to allow xml:comment to appear everywhere we would
> either to say that such element is stripped before validation or extend
> every existing schema to allow such element everywhere which is quite
> difficult in some schema languages (namely XSD 1.0).

I was assuming that if <xml:comment> were chosen to represent comments, 
its main (perhaps only) difference from other elements would be that it 
would be ignored for validation purposes - i.e it's not under schema 

I've been interested to read people's views that comments should be 
allowed to contain "non-well-formed" content. It's a worthwhile point, 
but I don't find it compelling. The editing tool that creates the 
comment can always escape any markup within the comment.

Michael Kay

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

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS