Re: [xml-dev] Towards XML 2.0

From
Michael Kay <>
To
Date
2010-12-06T11:37:10Z
ID
<>
Thread
Re: [xml-dev] Towards XML 2.0
>I don't know of any language where comments have to be syntactically 
correct, it's essentially equivalent to saying that there are no comments.

In XSD, xs:annotation has to be well-formed. In fact, as currently 
specified, it also has to be valid: if an xs:complexType appears within 
an xs:annotation then it has to be a valid xs:complexType. That seems to 
be an unintended feature of the spec, but it's proving difficult to fix.

Michael Kay
Saxonica