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

  • From: Michael Kay <mike@s...>
  • To: xml-dev@l...
  • Date: Mon, 06 Dec 2010 11:37:10 +0000

 >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



[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