[cfe-commits] r163842 - /cfe/trunk/bindings/xml/comment-xml-schema.rng
Dmitri Gribenko
gribozavr at gmail.com
Thu Sep 13 14:32:58 PDT 2012
Author: gribozavr
Date: Thu Sep 13 16:32:58 2012
New Revision: 163842
URL: http://llvm.org/viewvc/llvm-project?rev=163842&view=rev
Log:
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.
Modified:
cfe/trunk/bindings/xml/comment-xml-schema.rng
Modified: cfe/trunk/bindings/xml/comment-xml-schema.rng
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/bindings/xml/comment-xml-schema.rng?rev=163842&r1=163841&r2=163842&view=diff
==============================================================================
--- cfe/trunk/bindings/xml/comment-xml-schema.rng (original)
+++ cfe/trunk/bindings/xml/comment-xml-schema.rng Thu Sep 13 16:32:58 2012
@@ -294,9 +294,9 @@
<define name="Discussion">
<element name="Discussion">
- <oneOrMore>
+ <zeroOrMore>
<ref name="TextBlockContent" />
- </oneOrMore>
+ </zeroOrMore>
</element>
</define>
More information about the cfe-commits
mailing list