Comment to XML conversion: we try not to emit empty <Discussion> elements, but
it is not possible to guarantee that without duplicating logic or buffering
<Discussion> element contents. So, allow empty <Discussion> elements in schema.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163842 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/bindings/xml/comment-xml-schema.rng b/bindings/xml/comment-xml-schema.rng
index a0329f8..3942903 100644
--- a/bindings/xml/comment-xml-schema.rng
+++ b/bindings/xml/comment-xml-schema.rng
@@ -294,9 +294,9 @@
<define name="Discussion">
<element name="Discussion">
- <oneOrMore>
+ <zeroOrMore>
<ref name="TextBlockContent" />
- </oneOrMore>
+ </zeroOrMore>
</element>
</define>