]> granicus.if.org Git - clang/commitdiff
Comment to XML conversion: we try not to emit empty <Discussion> elements, but
authorDmitri Gribenko <gribozavr@gmail.com>
Thu, 13 Sep 2012 21:32:58 +0000 (21:32 +0000)
committerDmitri Gribenko <gribozavr@gmail.com>
Thu, 13 Sep 2012 21:32:58 +0000 (21:32 +0000)
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

bindings/xml/comment-xml-schema.rng

index a0329f8c3d7b95a25cf2f554d80ac7699b0eec8b..3942903788b28f340fded709e7f17ebd18c713f1 100644 (file)
 
   <define name="Discussion">
     <element name="Discussion">
-      <oneOrMore>
+      <zeroOrMore>
         <ref name="TextBlockContent" />
-      </oneOrMore>
+      </zeroOrMore>
     </element>
   </define>